I don't count myself as often, but for a 1:M or M:M relationship, I will
often insert multiple rows in a statement.
However, I have no need of the updated row count nor retrieving the PK
for each entry (as they are keyed off of the other relationship).
Larry Meadors wrote:
Am I missing something here...do people frequently insert multiple rows?
Because I would guess that 99.999% of the time I insert one and only one row.
Getting a 0 or 1 back is no more useful than an exception being thrown
(or not being thrown).
This is not going to be changed because of that and the fact that it
would break the existing selectKey behavior unless we returned a List
(..and would that be a list of generated keys, or 0s and 1s?).
Larry
On 3/12/06, Cornel Antohi <[EMAIL PROTECTED]> wrote:
Hi,
We experienced the same "strange" problem and we decided, until IBatis team
will implement the insert as in documentation, to use "update" option from
xml files with an INSERT sql query.
Thank you,
Cornel