[jboss-user] [EJB 3.0] - hibernateexception: wrong column type in entity bean

X490812 do-not-reply at jboss.com
Sat Sep 29 00:00:47 EDT 2007


I am using sql server 2005 and I have an ntext field. What should my column annotation be in my entity bean for this type? 
When I use:
@column(name="descr") on my field getter,  I get the "wrong column type... expected varchar(255)" error. How do you specify column annotations for ntext, nvarchar, and other special types that sql server has. Pointers to documentation on this issue would be appreciated. Thanks

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

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



More information about the jboss-user mailing list