[jboss-user] [JBoss Seam] - Re: boolean types mapped to bit in MySQL 5 not working with

matt.drees do-not-reply at jboss.com
Wed Sep 26 16:08:03 EDT 2007


"dustismo" wrote : I've found that hibernate correctly maps to boolean from tinyint(1) without any other configuration
  | 
  | 

Do you mean for normal usage, or also for schema creation?

IIRC, it maps to tinyints fine (w/ no additional configuration) if you have a pre-existing table, but if hibernate has to make a table, it'll by default choose bit.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089044#4089044

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089044



More information about the jboss-user mailing list