Why do you need to do this?  If you are trying to use the getCursor() method, it would 
be better to use the getObject() method on the standard prepared statement and cast 
the result to a ResultSet.  But, if you must get access to the 
OraclePreparedStatement, try this:

anonymous wrote : 
  | WrappedConnection wcon = (WrappedConnection)con;
  | OracleConnection careful = (OracleConnection)wcon.getUnderlyingConnection();
  | 
  | OraclePreparedStatment pstmt = 
(OraclePreparedStatment)careful.prepareStatement(...);
  | 

The idea is to get to the OracleConnection object.  Once you get that, you can use the 
custom Oracle API.  Be careful with that underlying connection, Adrian has multiple 
cautions posted in these forums about that.

Darin

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853223#3853223

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853223


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to