Subject Re: [Firebird-Java] Mapping of types
Author Yves Glodt
Thank you Roman!

On Mon 20 Oct 2008, Roman Rokytskyy wrote:
> > can anyone point me to a mapping table which shows the relationship
> > between firebird datatypes and java types?
>
> It is standard JDBC mapping:
>
> 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