Hi dosapati,
I had the same problem as you ('0' being saved into the DB regardless of the
value set). It turns out that the problem was with the mysql jdbc driver I
was using. I was using the "org.gjt.mm.mysql.Driver" version but am now
using the "com.mysql.jdbc.Driver" version (the so-called off
You are mistaken.
dosapati wrote:
I am using: Hibernate 2.0.1, MySQL - 4.0.12 database.
When boolean is used in hbm mapping files, SchemaExport is generating
'tinyint' type column for MySQL DB. But at runtime the value is always
getting saved as '0' in the column even for 'true' value.
But the
I am using: Hibernate 2.0.1, MySQL - 4.0.12
database.
When boolean is used in hbm mapping files, SchemaExport is generating
'tinyint' type column for MySQL DB. But at runtime the value is always getting
saved as '0' in the column even for 'true' value.But the same thing is
working when I u