How to craete an id autoincrement in oracle and use in Hibernate mapping
873695Aug 4 2011 — edited Aug 4 2011Hi
I have a table for guest table name is "guestbook" where i want visitor_number column should be auto increment as the guest when visited my site just enter guest name and message , the visitor_number should be generated automatically using auto increment in oracle .
i know this can be done using sequence and trigger , but in that while i use insert i have to call nextval but i want ti insert the values from my jsp page to database using hibernate.
Can anyone help me .
Thanks and regards
Manna