[jboss-dev-forums] [Persistence Development] - Re: JPA @Column annotation does not work in JBoss5.x, MySQL

harshajbharsha do-not-reply at jboss.com
Fri Sep 18 03:04:00 EDT 2009


hi the issue was resolved. it was my mistake

1. I used @Coulmn at the getters and @ManyTOOne at the field level. 

2. Also, having a field length of 255 for integer is not correct

thanks,
harsha


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

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



More information about the jboss-dev-forums mailing list