MENU

  /   Maps

Maps

2 maps are built into the generator as standard. The first folder contains the mapping from sxmi type to Hibernate type.
De second folder contains the mapping from sxmi type to java type.

The map with hibernate types has the following content:

integer=integer
Integer=integer
long=long
Long=long
short=short
Short=short
float=float
Float=float
double=double
Double=double
big_decimal=big_decimal
character=character
String=string
byte=byte
boolean=boolean
Boolean=boolean
yes_no=yes_no
Date=date
DateTime=timestamp
time=time
timestamp=timestamp
calendar=calendar
calendar_date=calendar_date
binary=binary
text=text
clob=clob
blob=blob

The map with java types has the following content:

integer=int
int=int
Integer=Integer
long=long
Long=Long
short=short
float=float
Float=Float
double=double
Double=Double
big_decimal=java.math.BigDecimal
character=Character
String=String
byte=byte
boolean=boolean
yes_no=boolean
Date=java.util.Date
DateTime=java.util.Date
time=java.sql.Time
timestamp=java.sql.Timestamp
calendar=java.util.Calendar
calendar_date=java.util.Calendar
void=void
binary=byte[]
text=String
clob=java.sql.Clob
blob=java.sql.Blob