-->
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: Oracle10gDialect and JPA 2.1 ref cursors
PostPosted: Sat Mar 12, 2016 3:42 am 
Regular
Regular

Joined: Wed Oct 15, 2003 4:40 pm
Posts: 67
Can anyone point me to a working example of accessing an Oracle function or procedure returning ref cursors using the JPA 2.1 stored procedure features? Any attempt ends with hibernate saying that the dialect doesn't support them. I can access them with plain JDBC so the driver is working but strangely enough the connection metadata returns false for the support check. I've tried latest Hibernate 4.x and 5.x...

Thanks in advance,
Nik


Top
 Profile  
 
 Post subject: Re: Oracle10gDialect and JPA 2.1 ref cursors
PostPosted: Sat Mar 12, 2016 7:35 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
There is one in the 5.1 User Guide unit tests.

Search for "sp_person_phones" and you'll find what you need.


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.