0 Replies Latest reply on Nov 10, 2006 8:39 AM by Konstantin Ermakov

    @Version annotation problem

    Konstantin Ermakov Newbie


      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?