원본출처 : http://www.kpi.com.au/jbossarchive/0011/0024.html
Hello,
Here's a standardjaws type mapping I'm using with SAPDB
(http://www.sapdb.org)
SapDB
java.lang.Integer
INTEGER
INTEGER
java.lang.Character
CHAR
CHAR
java.lang.String
VARCHAR
VARCHAR(256)
java.lang.Object
JAVA_OBJECT
LONG BYTE
java.lang.Byte
TINYINT
CHAR BYTE
java.sql.Timestamp
TIMESTAMP
TIMESTAMP
java.util.Date
DATE
DATE
java.sql.Time
TIME
TIME
java.lang.Boolean
BIT
FIXED(1,0)
java.lang.Float
FLOAT
FLOAT
java.lang.Short
SMALLINT
SMALLINT
java.lang.Double
DOUBLE
DOUBLE PRECISION
java.lang.Long
DECIMAL
DECIMAL(20)
|