[jboss-user] [JBoss Seam] - Re: boolean types mapped to bit in MySQL 5 not working with
dustismo
do-not-reply at jboss.com
Wed Sep 26 15:50:41 EDT 2007
I've found that hibernate correctly maps to boolean from tinyint(1) without any other configuration
i.e. this works fine.
| @Column(name="is_include_trend")
| public boolean isIncludeTrend() {
| return this.includeTrend;
| }
|
| public void setIncludeTrend(boolean includeTrend) {
| this.includeTrend = includeTrend;
| }
|
-Dustin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089027#4089027
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089027
More information about the jboss-user
mailing list