-->
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: How to create unique rowId
PostPosted: Tue Feb 25, 2014 2:47 pm 
Newbie

Joined: Tue Feb 25, 2014 2:38 pm
Posts: 1
So I have a view where I could not find any combination that uniquely identify row so there is no way i could put any thing in composite key tag or id tag
in oracle I could see we could use some thing like:
<property name="rowId" column="`ROWID`" insert="false" update="false"/>
but I am using teradata so irrespective of that is there any way I could generate unique identifier without changing in the database, the main reason I cant use hilo algorithm because I only have read access to that view and nothing else.

Note I just need to fetch record using HQL not SQL and there would not be any chance of insert or update in my case

Any quick help would be highly appreciable :9


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.