4 Replies Latest reply on Aug 30, 2011 10:57 AM by Adam Warski

    int type in Revision number

    Adriano Saturno Newbie

      At class DefaultRevisionEntity we have:


          private int id;


      I made a test setting the HIBERNATE_SEQUENCE to 2,147,483,647. After that, I made an audeted update.


      The REV column of REVINFO table become negative (int type overflow)


      I have to customize a RevisionEntity to work with large numbers, right.


      But it should throw an exception, I think.