Joined: Thu Sep 15, 2005 2:03 am Posts: 1
|
Hi,
Does anybody know if boolean (java primitive) mapping can be done for DB2 in Hibernate or not. Java Boolean Object is possible but where & what to change/add for boolean primitive mapping.
The column is of type SMALLINT & java object has boolean variable. ie In DB2 value is 0/1 but in object it is true/false
I'm getting the foll. exception
Caused by: com.ibm.db2.jcc.b.SQLException: "FALSE" is not valid in the context where it is used.
The sql that is beeing used is - select taskinstan0_.ID_ as ID1 from JBPM_TASKINSTANCE taskinstan0_ where taskinstan0_.ISCANCELLED_=false)
|
|