Subject | SMALLINT,NUMERIC(p,s), s> 0 Mapping to object in FirebirdSQL-1.0_RC1 driver? |
---|---|
Author | Frederic |
Post date | 2002-09-26T16:03:05Z |
Hi,
I read in some message that following database types are mapped to Java
Object when using getObject(int columnIndex):
NUMERIC(12,2) and NUMERIC(10,2)?
2) I suppose it also works with getObject(String columnName)?
3) I read the release notes of the FirebirdSQL-1.0_RC1 driver but where
can I find more documentation?
Your help will be appreciated!
Frederic
I read in some message that following database types are mapped to Java
Object when using getObject(int columnIndex):
> INTEGER - java.lang.Integer1) What about SMALLINT and NUMERIC(p,s) with s > 0, examples:
> NUMERIC(18,0) - java.lang.Long
> DOUBLE PRECISION - java.lang.Double
> CHAR or VARCHAR - java.lang.String
> BLOB with custom type - java.sql.Blob
> BLOB SUB_TYPE 0 or 1 - byte[]
> TIME - java.sql.Time
> DATE - java.sql.Date
> TIMESTAMP - java.sql.Timestamp
NUMERIC(12,2) and NUMERIC(10,2)?
2) I suppose it also works with getObject(String columnName)?
3) I read the release notes of the FirebirdSQL-1.0_RC1 driver but where
can I find more documentation?
Your help will be appreciated!
Frederic