2 Replies Latest reply on Jun 7, 2006 2:39 PM by Jitesh Premji

    Oracle Seqeunce incrementing by 50

    Jitesh Premji Newbie

      I have just created my first EJB3 Entity bean using the oracle seqeunce. Every time i start the app server and insert a new record the id generated is incremented by 50 instead of using the seqeunce value from the database. I have noticed that the stategy being used is org.hibernate.id.SequenceHiLoGenerator. Is there any way of changing this to use the database sequence value instead of one provided by the app server or the entity manager.