ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bala r" <bala...@gmail.com>
Subject How to execute a SQLstatement and followed by a StoredProcedure.
Date Wed, 27 Aug 2008 18:17:41 GMT
Hi,

I need to execute Select statement and followed by a Stored Procedure.
Stored Procedure parameter is from the SQL Selectstatement result.

1. Select x into p_x from temp_table
 2. call stored_procedure(p_x)

Both should be same sqlMap id .

I tried using <statement> but didnt work.

Is there a way shall i execute both in one sqlMap id?

Thanks
Bala.

Mime
View raw message