-->
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: How to fetch Sequence.next val from Hibernate
PostPosted: Sat Nov 05, 2005 2:57 pm 
Beginner
Beginner

Joined: Tue Jun 21, 2005 2:21 am
Posts: 22
HI

I need help in following scenario .

i have a table by name Retailer_Registry . it has following field mappings
guid,
Last_updated_user,
Addressline1
AddressLine2...
....
...
..
Retailer_Registry_UID etc .

Here apart from guid Retailer_Registry table column is unique . The value of this column in populated for each transaction from a different table called say UID pool . so i need to have a logic that will fetch the sequence.next val from UID pool table and populate it in to RETAILER_REGISTRY_UID Column .

i need to know how to get sequence.next val from dual in hibernate .

any help appreciated ..


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 05, 2005 2:58 pm 
Beginner
Beginner

Joined: Tue Jun 21, 2005 2:21 am
Posts: 22
I make a pardon

read as

Here apart from guid, RETAILER_REGISTRY_UID Column in unique .


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.