[jboss-user] [EJB 3.0] - Re: Mapping String attribute in EntityBean to CHAR(size) in

chris@dvdb.de do-not-reply at jboss.com
Sun Mar 25 21:55:44 EDT 2007


I have the same problem. There is a char(3) column in my mysql database I cannot change. What's the right java type I can map this to in my @Entity? 

char[], Character[] etc/ gives me an "Varchar expected" exception.

Thanks,

Chris

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

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



More information about the jboss-user mailing list