db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject [PATCH] Platform support for calls
Date Mon, 21 Mar 2005 19:10:12 GMT
Hi All,

As discussed before [1], attached is a patch which implements stored procedures 
support for the procedures returning ResultSet. This code has been tested under 
Oracle, and with it you can do:

   Query query = QueryFactory.newQuery(MyBean.class, "{ ?= call MY_PROCEDURE()");
   MyBean bean = (MyBean) broker.getObjectByQuery(query);
   // Or:
   // broker.getCollectionByQuery(query);

Patch is against OJB_1_0_RELEASE branch, I hope it can be applied after the 
1.0.2 release s out.


[1] http://marc.theaimsgroup.com/?t=111039680600005&r=1

View raw message