-->
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.  [ 3 posts ] 
Author Message
 Post subject: Parametric Views
PostPosted: Tue May 25, 2004 4:20 am 
Newbie

Joined: Tue Dec 09, 2003 10:43 am
Posts: 7
Is there any way to use parametric views with Hibernate on an Oracle DB?
Any hint will be very appreciated

Renato


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 27, 2004 9:37 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
AFAIR Oracle doesn't support parameterized views at all? I remember that you can use a stored package value and set it before accessing your view with a storec procedure call...

Google turned up this:

http://asktom.oracle.com/pls/ask/f?p=49 ... 0800568535,

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 27, 2004 3:30 pm 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
A standard way to store session parameters is a temprory table. I am not sure it works for view (view will depend on temprory object ), but some fake table must help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.