You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Mississippi John Hurt <jo...@gmail.com> on 2005/07/22 05:15:22 UTC

Can iBatis Map a script of DML (ALTER TABLE) with Anonymous PL/SQL block?

Hi,

I need to encapsulate some DML (such as ALTER TABLE DISABLE CONSTRAINT) as 
well as a long anonymous PL/SQL block of code (not compiled in the database) 
in Java objects. Can I do this with iBatis? If so how? From what I 
understand iBatis can only map SQL and a single stored procedure. How would 
I map say, something like a script with DML (ALTER TABLE) followed by a 
block of anonymous PL/SQL? Thanks.