Hi!
I wanna be able to develop on my laptop (Don't wanna have a full blown db
installed on it's slow disk)
So, while trying to make most of the junit tests run on a Hypersonic db I
found the following and was wondering if this is common knowledge or/and
expected behavior:
ABCProxyTest and ABCTest - Uses count as a property, that is a preserved
word in Hypersonic
DemoTest - there is a thread.sleep which is not reliable, it always timesout
before the datastore is setup. Maybe we should make a more explict
synchronization n the datastore ?
MasterDetailTest relies on the dialect having support for sequences - should
we maybe have an expected exception if dialect is hibernate (or any other
without support for dialects ?
MultiTable fails with a
cirrus.hibernate.QueryException: Incorrect query syntax [from s in class
Simple where s.count>0]
at cirrus.hibernate.query.QueryTranslator.compile(QueryTranslator.java:148)
at cirrus.hibernate.query.QueryTranslator.compile(QueryTranslator.java:123)
at
cirrus.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:30
5)
at
cirrus.hibernate.impl.SessionFactoryImpl.getScalarQuery(SessionFactoryImpl.j
ava:287)
at cirrus.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1092)
at cirrus.hibernate.impl.SessionImpl.iterate(SessionImpl.java:1120)
at cirrus.hibernate.impl.SessionImpl.iterate(SessionImpl.java:1110)
at cirrus.hibernate.impl.SessionImpl.iterate(SessionImpl.java:1102)
at
cirrus.hibernate.test.MultiTableTest.testMultiTable(MultiTableTest.java:79)
It seems as it cannot parse "s.count" in "from s in class Simple where
s.count>0" .... can the newly quote patch have messed something up ?
ODMGTest only passes if hibernate.jdbc.use_streams_for_binary is set to
false (because hsqldb presumably cannot handle binary's that has a Null
value (it creates a binarystream on a null buffer) (Is this documented
somewhare ?)
In ParentChildTest the tables are not created ? ;(
Many "Unsuccessful: Wrong data type: CONTAINER_ID in statement [create table
Contained (container_id BIGINT NOT NULL IDENTITY)]" when creating schema
test.
Anyone know what is wrong ?
I have tested it with the newest hsqldb 1.7 driver ...
/max
|