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 same thing is working when I use Boolean as the type. Why there is a difference between primitive datatype and Object wrapper. will this problem occur for other datatypes also like long, double, float. I want to use primitive datatypes. Please let me know if you have fix for this.
thanks dosapati
-- Gavin King JBoss Group +61 410534454 http://hibernate.org
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel