-->
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.  [ 2 posts ] 
Author Message
 Post subject: Forcing generator ="sequnce"
PostPosted: Wed Sep 14, 2005 3:14 pm 
Newbie

Joined: Wed Sep 14, 2005 3:07 pm
Posts: 1
I am reverse engineering a postgresql schema and hibernate always defaults to <generator = "assigned" > which is not what I want, I want the database to generate sequences <generator = "sequence" param... "some.seq"../>

I have tried "native" and that doesn't work, is there another way to force hibernate to create the proper mapping.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 4:16 pm 
Newbie

Joined: Thu Sep 08, 2005 12:07 pm
Posts: 6
Check out:
http://forum.hibernate.org/viewtopic.php?t=947482

The latest CVS version apparantly supports configuring the reverse engineering - including the 'generator class'.

Unfortunatley, I haven't had a chance to download, compile, and try it.

_________________
Eric Hansen


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

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.