From: Phillip B. <phi...@cl...> - 2002-02-16 11:27:29
|
I'm in the process of testing some mods to Hibernate to allow it to use multiple schemas. As HSQLDB does not support schemas I thought I'd try and use McKoi. However I'm getting the following exception. Has the McKoi dialect passed all the FooBarTests? I do not think its my changes causing this because everything still runs ok under HSQLDB. testCreateUpdate... Created connection tojdbc:mckoi:local://c:/java/projects/hibernate/db/mctest/db.conf, Isolation Level: 8 Flushing: cirrus.hibernate.test.Foo 4be1cb31:ec0e76bc:00ec:0e77089e:0000 LOADED cirrus.hibernate.test.Foo: string changed [1] select next from hibernate_unique_key [2] update hibernate_unique_key set next = ? Generated new collection ID 65536 for table foobytes Flushing 1 insertions, 1 updates, 0 deletions to 1 objects and updating 3 collections.... cirrus.hibernate.collections.ArrayHolder@6f0be8:null-->cirrus.hibernate.impl.CollectionPersister@6df3f6 cirrus.hibernate.collections.ArrayHolder@78f7db:null-->cirrus.hibernate.impl.CollectionPersister@2bc3f5 cirrus.hibernate.collections.ArrayHolder@61899b:null-->cirrus.hibernate.impl.CollectionPersister@4e3f41 [1] insert into foos ( foo, long_, integer_, float_, double_, bytes, date_, timestamp_, boolean_, bool_, null_, short_, zero_, int_, string_, byte_, yesno, blobb_, nullBlob, status_, bin_, first_name, surname, count_, name_, subcount, subname, foo_id, class ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'cirrus.hibernate.test.Foo' ) java.lang.reflect.InvocationTargetException: com.mckoi.database.jdbc.MSQLException: Can't cast NULL to VARBINARY at com.mckoi.database.jdbcserver.LocalDatabaseInterface.exec(LocalDatabaseInterface.java:194) at com.mckoi.database.jdbcserver.LocalDatabaseInterface.execQuery(LocalDatabaseInterface.java:229) at com.mckoi.database.jdbc.MConnection.executeQuery(MConnection.java:265) at com.mckoi.database.jdbc.MStatement.executeQuery(MStatement.java:110) at com.mckoi.database.jdbc.MPreparedStatement.executeUpdate(MPreparedStatement.java:76) This is with McKoi 0.92. thanks Phillip B. |