-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: configure @GeneratedValue(stratigy = GenerationType.IDENTITY
PostPosted: Tue Apr 19, 2011 9:32 am 
Newbie

Joined: Tue Apr 19, 2011 9:25 am
Posts: 5
How to configure @GeneratedValue(stratigy = GenerationType.IDENTITY) to be assigned to Generated Entity Primary key in the reverse engineering.

The primary key in the database(DB2) table is auto generated.
I am trying to use hbm2java tool to generate the entity, but by default it doesn't specify anything. and I am not able to find the way to do this.

Any help is appreciated.

Thanks,
Alpha7


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.