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