Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

Data Types

The Java Class Generator projects Caché data types to Java data types according to the value of the CLIENTDATATYPE attribute of the Caché data type class. The following table shows some of the mappings:

Caché Data Type CLIENTDATATYPE Java Data Type
%String VARCHAR java.lang.String
%Name VARCHAR java.lang.String
%Integer INTEGER java.lang.Integer
%Float DOUBLE java.lang.Double
%Date DATE java.sql.Date
Note:

To learn more about Caché data type classes and the CLIENTDATATYPE attribute, read Common Data Type Classes in the chapter “Defining and Using Literal Properties” in Using Caché Objects.

FeedbackOpens in a new tab