Subject | Re: [Firebird-Java] Mapping of types |
---|---|
Author | Roman Rokytskyy |
Post date | 2008-10-20T20:43:08Z |
> can anyone point me to a mapping table which shows the relationshipIt is standard JDBC mapping:
> between firebird datatypes and java types?
SMALLINT short, java.lang.Short
INTEGER int, java.lang.Integer
BIGINT long, java.lang.Long
FLOAT double, java.lang.Double
DOUBLE double, java.lang.Double
VARCHAR java.lang.String
CHAR java.lang.String
BLOB java.io.InputStream
BLOB SUB_TYPE < 0 java.sql.Blob
TEXT (either String or stream, do not remember)
DATE java.sql.Date
TIME java.sql.Time
TIMESTAMP java.sql.Timestamp
Arrays are not yet supported.
Roman