hello, I am getting error while implementing auto increment of column value using sequence with oracle9 dialect.
i have updated my hibernate.config file as : (i) <id name="Id" column="id"> <generator class="seqhilo"> <param name="max_lo">3</param> <param name="sequence">users_seq</param> </generator> (ii) <id name="Id" column="id"> <generator class="sequence"> <param name="sequence">users_seq</param></generator> I have tried with both options, still getting error as "System.Exception: could not get next sequence value[SQL: select hibernate_sequence.nextval from dual]" In addition, if i apply query : select hibernate_sequence.nextval from dual then i am getting in appropriate value in table. Please help. Let me know =, if any further information required. Regards, Nis -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/groups/opt_out.
