Search found 2 matches

by candidjava
Mon Jan 02, 2012 6:38 am
Forum: International Trap
Topic: Hibernate Interview Question
Replies: 1
Views: 27180

Hibernate Interview Question

by candidjava
Mon Jan 02, 2012 6:37 am
Forum: International Trap
Topic: Hibernate Interview Question
Replies: 1
Views: 27180

Hibernate Interview Question

How do you define sequence generated primary key in hibernate? Using <generator> tag. Example:- <id column=”USER_ID” name=”id” type=”java.lang.Long”> <generator class=”sequence”> <param name=”table”>SEQUENCE_NAME</param> <generator> </id> <a href="http://candidjava.com/hibernate-interview-quest...