Skip to main content

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

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