hibernate -類型
Hibernate????????????????? java???????????????????? sql??????????????????? oracle???????
integer or int???????????? int or Integer?????????? INTEGER
long?????????????????????? long or Long???????????? BIGINT
short????????????????????? short or Short?????????? SMALLINT
byte?????????????????????? byte or Byte???????????? TINYINT
float????????????????????? float or Float?????????? FLOAT
double???????????????????? double or Double???????? DOUBLE
big_decimal??????????????? java.math.BigDecimal???? NUMBERBIC
character????????????????? char java.lang.Character CHAR(1)
?????????????????????????? String?????????????????????
string???????????????????? String??????????????????? VARCHAR
boolean??????????????????? boolean or Boolean??????? BIT
date?????????????????????? java.util.Date??????????? DATE
?????????????????????????? java.sql.Date
time?????????????????????? Date or java.sql.time???? TIME
timestamp????????????????? Date or java.sql.Timestamp TIMESTAMP??????????????
binary???????????????????? byte[]??????????????????? blog?????????????????? blog
text?????????????????????? String??????????????????? clob?????????????????? clog
serializable???????????????????????????????????????? blog?????????????????? blog????????????
clob?????????????????????? java.sql.clob??????????? clob??????????????????? clob
blob?????????????????????? java.sql.blob???????????? blog?????????????????? blob
posted on 2006-09-14 09:20 康文 閱讀(334) 評論(0) 編輯 收藏 所屬分類: java