-->
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: Use Stored Procedue in Hibernate
PostPosted: Wed Dec 24, 2008 10:57 pm 
Newbie

Joined: Mon Jun 12, 2006 4:11 am
Posts: 6
Hi all,

I know Hibernate3.x supports stored procedure now and I've tested it. But I still have some questions about SPs in Hibernate:
1. Will 2nd level cache work with SPs? I know if you have some native SQL query repeatly executed in your application, you can cache the query result. Is it same to SPs?
2. Is Hibernate aware of the updated table if SP changes the underlying data and update the cache if needed(I think it is different from native SQL which hibernate can analyze the related tables from the query)?

I appreciate if you can share the experience of Cache and Stored Procedue in Hibernate. Thanks in advance.


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.