-->
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: In id generator, define schema for sequence
PostPosted: Wed Sep 01, 2004 5:28 pm 
Newbie

Joined: Wed Sep 01, 2004 1:32 pm
Posts: 9
Location: (eastern) North Carolina
Is there an IdentifierGenerator implementation already existing in Hibernate, that lets me specify the schema where the sequence is to be found?

I want the global sequence for my application to be in a schema other than the current schema.

Anyone know how to do this?

Thanks and Regards, Jim


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 01, 2004 7:32 pm 
Newbie

Joined: Wed Sep 01, 2004 1:32 pm
Posts: 9
Location: (eastern) North Carolina
Figured it out.

<generator class="sequence">
<param name="sequence">schema_name.sequence_name</param>
</generator>


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.