[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Mapping of Oracle REF CURSOR in standardjbosscmp-jdbc.xm

roist do-not-reply at jboss.com
Wed Mar 7 11:16:22 EST 2007


if you are using the PreparedStatement or CallableStatement-interface to do so, all you have to do is 

// Cursor = -10
cs.registerOutParameter (x, OracleTypes.Cursor ); 
cs.execute();

ResultSet rs = (ResultSet)cs.getObject(x);

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

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



More information about the jboss-user mailing list