-->
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: CallableStatement for load?
PostPosted: Mon Oct 18, 2004 8:26 am 
Newbie

Joined: Mon Oct 18, 2004 7:59 am
Posts: 10
Location: Netherlands
Hi,

A client is using stored procedures in their database for modifying and reading of data (read procedures perform access control). They are currently investigating Hibernate 3, where callable statement support for CUD operations is added. Is there a way to use callable statements for 'R' operations as well?

I will be suggesting that they implement access control in views but it would be good to have a fallback.

Thanks -
Marc


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 18, 2004 11:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Not at the moment.

But look into making your custom persister to allow for custom read (load) operations.

How about querying ? Will they also not allow HQL or similar to express querying ?

At some point in H3 we will probably at least at callable support for createSQLQuery - patches are welcome ;)

_________________
Max
Don't forget to rate


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.