Subject | Exception with JayBird 1.5RC1 and Kodo JDO accessing fields of type long |
---|---|
Author | Thomas Leonard |
Post date | 2004-04-20T10:08:52Z |
Hi,
I just upgraded from JayBird 1.0.1 to JayBird 1.5RC1 running between
FirebirdSS-1.5.0.4231-RC8 and KodoJDO 2.5.0.
I observe exceptions that seem to be related to the access of fields of type
long. No other field types seems to be affected. Tables without type long
seem to work flawlessly as far as I see. JayBird 1.0.1 works fine in the same
setup.
Here are the relevant lines of the exceptions:
...
NestedThrowablesStackTrace:
org.firebirdsql.jdbc.FBSQLException: The resultSet is not in a row, use next
at org.firebirdsql.jdbc.FBResultSet.getField(FBResultSet.java:360)
at org.firebirdsql.jdbc.FBResultSet.getField(FBResultSet.java:344)
at org.firebirdsql.jdbc.FBResultSet.getLong(FBResultSet.java:302)
at
com.solarmetric.datasource.ResultSetWrapper.getLong(ResultSetWrapper.java:143)
at
com.solarmetric.kodo.impl.jdbc.schema.dict.AbstractDictionary.longFromSQL(AbstractDictionary.java:567)
at
com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.getObjectId(ClassMapping.java:891)
...
Any ideas or experiences?
Cheers,
Thomas
I just upgraded from JayBird 1.0.1 to JayBird 1.5RC1 running between
FirebirdSS-1.5.0.4231-RC8 and KodoJDO 2.5.0.
I observe exceptions that seem to be related to the access of fields of type
long. No other field types seems to be affected. Tables without type long
seem to work flawlessly as far as I see. JayBird 1.0.1 works fine in the same
setup.
Here are the relevant lines of the exceptions:
...
NestedThrowablesStackTrace:
org.firebirdsql.jdbc.FBSQLException: The resultSet is not in a row, use next
at org.firebirdsql.jdbc.FBResultSet.getField(FBResultSet.java:360)
at org.firebirdsql.jdbc.FBResultSet.getField(FBResultSet.java:344)
at org.firebirdsql.jdbc.FBResultSet.getLong(FBResultSet.java:302)
at
com.solarmetric.datasource.ResultSetWrapper.getLong(ResultSetWrapper.java:143)
at
com.solarmetric.kodo.impl.jdbc.schema.dict.AbstractDictionary.longFromSQL(AbstractDictionary.java:567)
at
com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.getObjectId(ClassMapping.java:891)
...
Any ideas or experiences?
Cheers,
Thomas