-->
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: Possible to tie POJOs back to UDFs instead of tables?
PostPosted: Tue Oct 23, 2007 2:16 pm 
Newbie

Joined: Tue Oct 23, 2007 2:06 pm
Posts: 1
Location: Grand Rapids, USA
We have a very complex security model that is enforced via UDFs. Therefore we never do a "SELECT * FROM clients" it is always "SELECT * FROM secure_clients( CURRENT_USERS_ID)". I'm curious if this can be accomplished via hibernate? I realize I can call arbitrary SQL via named queries, but can hibernate be made to use these secure UDFs directly? We specifically would like to use the criteria API because of it's incredibly flexibility.

_________________
Wherever you go, there you are


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.