Hi,
I have a problem that the hibernate Dialect is outdated. I use the new Hibernate 1.9 version. The new boolean column type is wrongly translated from hibernate. instead of
Code:
select
fcasforeca1_.FORE_FLAG_IS_MASTER as col_0_0_,
from
FCAS_FORECAST_SET fcasforeca1_
where
fcasforeca1_.FORE_FLAG_IS_MASTER=true
it makes
Code:
select
fcasforeca1_.FORE_FLAG_IS_MASTER as col_0_0_,
from
FCAS_FORECAST_SET fcasforeca1_
where
fcasforeca1_.FORE_FLAG_IS_MASTER=1
the second sql leads to an exception (in eclipse)
2009-07-14 11:07:05,468 WARN main org.hibernate.util.JDBCExceptionReporter - SQL Error: -5562, SQLState: 42562
2009-07-14 11:07:05,468 ERROR main org.hibernate.util.JDBCExceptionReporter - incompatible data types in combination
and if i ran it with a sql-tool i get:
Error: incompatible data types in combination
SQLState: 42562
ErrorCode: -5562
can somebody tell me when there will be a new dialect type or how to generate a new dialect type for hsqldb 1.9 ?
Best regards
Manfred