Vadim Gritsenko wrote:
As discussed before [1], attached is a patch which implements stored procedures support for the procedures returning ResultSet.
Done. Please test and verify, since I only checked standard regression tests and no actual stored procedure returning ResultSet as out param.
Thanks!
Also review/comment the reflection lookup of oracle.jdbc.OracleTypes.CURSOR value, I think this makes the code more "immune" to any Oracle JDBC driver changes.
I doubt it will change any time soon, but it should not hurt.
Now that basic support for SPs is in there, I had created a patch [1] to implement support of object retrieval via stored procedure. Please take a look.
Patch adds new xdoclet tag, new SelectByPKProcedure class, and if class descriptor defines this stored procedure, then it will be used instead of good old SELECT statement.
Thanks, Vadim
[1] http://issues.apache.org/jira/browse/OJB-16
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
