-->
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: Hibernate with Postgresql 9.4
PostPosted: Mon Apr 28, 2014 8:15 am 
Newbie

Joined: Mon Apr 28, 2014 8:12 am
Posts: 1
Using Latest Hibernate with postgresql, create schema.

I see that Hibernate is using one sequence to generate by default id's to all tables.

which means if i have person table and address table both with id column as generated

hibernate calls for each insert to it's sequence -> get the id -> insert it.

Can i have one sequence per each table ? how ?

Or do i obliged to work like this when working with hibernate and postgresql ?


Thanks in advance,
Dor


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.