-->
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: Filter data
PostPosted: Wed Jan 28, 2009 12:27 pm 
Newbie

Joined: Wed Jun 11, 2008 7:52 am
Posts: 10
Hello,

I have to filter the rows of specificaly tables in depends on the results of a storage function.

For example, if I want to know that they are accessible lines of the table "A" by the user "U" I do "SELECT T1 .* FROM A T1 WHERE EXISTS (SELECT * FROM STORAGEFCT ( 'A' , 'U') T2 WHERE T2 = T1.ID).

My problem is that does not know how to integrate it into hibernate. Would you have an idea?

PS : Sorry for my english.


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.