posted 14 years ago
Hi,
In your log4j.properties, add this
so you can see the sql statements
I've tried recreating the problem but it worked fine for me.
Below are the log entries when creating the table and inserting a record
CREATE TABLE "Individual_Simple_Entity1"
(
"ID" NUMBER(19,0) NOT NULL ENABLE,
"BOOLEANFIELD" NUMBER(1,0) NOT NULL ENABLE,
PRIMARY KEY ("ID") ENABLE
)
insert into Individual_Simple_Entity1 (booleanField, id) values (?, ?)
binding 'true' to parameter: 1
binding '1' to parameter: 2
in the db, the value of booleanField becomes 1