[jboss-user] [EJB 3.0] - @Version annotation problem

konstantin.ermakov do-not-reply at jboss.com
Fri Nov 10 08:39:46 EST 2006


Hello!

   In my Entity Bean I have a  @Version annotation. When I am trying to persist an object I receive the following exception:
[org.hibernate.type.IntegerType] could not bind value '1' to parameter: 1; The statement is closed.
The first parameter is exacly the version. With JBoss-4.0.4 it worked, with JBoss-4.0.5 it does not. Can somebody help me with this problem? Is it a bug?

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

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



More information about the jboss-user mailing list