You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Vadim Gritsenko <va...@reverycodes.com> on 2005/04/08 18:16:20 UTC
[PATCH] SelectByPK Stored Procedure, Was: Platform support for calls
Martin Kalén wrote:
> 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: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org