On 5/3/06, Anjishnu Bandyopadhyay <[EMAIL PROTECTED]> wrote:

Thanks Antonio for the pointer.

But this does not serve my purpose. (The document talks of executing an SP when a 
"persistable class/ bean" (corresponding to a row of data in a table of 
database) is inserted/modified/deleted).

I intend to execute the procedure independent of any such bean modifications. 
For example, I may trigger the SP if a particular condition is met in my Java 
class.

I am looking for an alternative to the implementation of "CallableStatement" 
Java API.

If you want to insert/update/delete a Java object (or more precisely,
its data in the database) with this stored procedure, then Antonio's
pointer is correct.
If however this has nothing to do with actual objects, but rather you
want some plain data, then you should use raw SQL queries
(http://db.apache.org/ojb/docu/guides/query.html#Query+Criteria).

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to