[rules-users] Persistence issue using Oracle

Gerret Hansper gerret.public at gmx.de
Fri Mar 12 03:15:06 EST 2010


Hi Ram,

I've been using hibernate 3.3 with an Oracle11g which auto-created the "dirty"
column as a NUMBER(1,0) type.

Giving it a quick try, when I map as you've sketched above and add

 <property name="dirty" access="field" type="boolean" column="dirty" length="1"/>

to the sessionInfo mapping the dirty column is created as NUMBER(1,0). Using
type="true_false" instead of "boolean" it becomes CHAR(1 BYTE).
Perhaps one of these works for you?

Regards,
 Gerret




More information about the rules-users mailing list