Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Elliott Jones   on Jul 08 In Java Category.

  
Question Answered By: Leon Evans   on Jul 08

In Hibernate mapping file

using this code  we can automatically generate the primary  keys


<id name="emp number" type="integer">
<column name="emp number"/>
<generator class="increment"/>
</id>

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Auto generated primary key in hibernate? Or get search suggestion and latest updates.


Tagged: