-->
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: Help unwrapping Connection proxy
PostPosted: Wed Aug 22, 2007 8:32 am 
Newbie

Joined: Wed Aug 22, 2007 8:15 am
Posts: 1
Location: Atlanta
Need help unwrapping a Connection proxy to get the underlying OracleConnection to do a one-off call to a stored proc with a UDT. I checked the BorrowedConnectionProxy, but the getWrappedConnection method doesn't seem to be available in 3.2.0. Also tried casting to oracle.java.OracleConnection with no luck. How can I get at the underlying jdbc Connection object, not the proxy?

Hibernate version: 3.2.0

Full stack trace of any exception that occurs:
java.lang.ClassCastException: $Proxy0


Name and version of the database you are using: Oracle 10g

Thanks,
Chris


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.