ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafiq, Adnan" <ara...@carreker.com>
Subject Dynamically Generated Prepared Statements
Date Tue, 10 Apr 2007 23:38:35 GMT
We have a requirement where the entire sql statement has to be
dynamically generated once, and then used as a prepared statement from
that point onward (with the usual parameter bindings),
 
For example, the following statement has to be generated at runtime (by
inspecting metadata, xml files etc.):
 
INSERT INTO TABLE_A (COLUMN1, COLUMNS2, COLUMN3)
VALUES (?,?,?)
 
Does iBatis provide an API where it can be configured dynamically
without relying on an xml file.
 
 

Mime
View raw message