Subject | Data Type Mappings |
---|---|
Author | kkras2000 |
Post date | 2002-06-06T21:47:45Z |
I am sorry if this is the second (or third) identical post but I was
having problems signing on to this newsgroup.
What Firebird Sql data types are mapped into in the following method
calls?
java.sql.ResultSet (or interbase.interclient.ResultSet) :
getBoolean(String columnName)
getByte(String columnName)
getObject(int columnIndex)
and
java.sql.PreparedStatement (or
interbase.interclient.PreparedStatement)
setBoolean(int parameterIndex,boolean x)
setByte(int parameterIndex,byte x)
setObject(int parameterIndex, Object x)
In the InterClient javadocs of PreparedStatement interface I read
that the
boolean is
converted to SQL BIT the byte is converted to SQL TINYINT, however in
the
Interbase docs I don't see either of these data types. What am I
missing?
If I pass a Serialized object (implementing Serialized interface) to
setObject(int parameterIndex, Object x) function what should be the
corresponding data type in the Firebird Sql table?
Any help would be greatly appreciated.
Regards
Kris
having problems signing on to this newsgroup.
What Firebird Sql data types are mapped into in the following method
calls?
java.sql.ResultSet (or interbase.interclient.ResultSet) :
getBoolean(String columnName)
getByte(String columnName)
getObject(int columnIndex)
and
java.sql.PreparedStatement (or
interbase.interclient.PreparedStatement)
setBoolean(int parameterIndex,boolean x)
setByte(int parameterIndex,byte x)
setObject(int parameterIndex, Object x)
In the InterClient javadocs of PreparedStatement interface I read
that the
boolean is
converted to SQL BIT the byte is converted to SQL TINYINT, however in
the
Interbase docs I don't see either of these data types. What am I
missing?
If I pass a Serialized object (implementing Serialized interface) to
setObject(int parameterIndex, Object x) function what should be the
corresponding data type in the Firebird Sql table?
Any help would be greatly appreciated.
Regards
Kris