Supported JDK Version

2005-08-29 Thread Clinton Begin
Hi everyone, It's always been the iBATIS policy to support the current JDK version, and one previous version.  However, we've been supporting JDK 1.3 and JDBC 2.0 for some time simply because it wasn't a problem.  We're now at a point whereby there is enough legacy JDK 1.3 and JDBC 2.0 code that

Re: multiple insert within a select tag

2005-08-29 Thread Jeff Butler
Just to correct a possible misunderstanding - iBATIS does not detect the dependancy on your delete.  MySQL is doing it through a cascaded delete.  iBATIS is really just sending SQL to the database through JDBC - there's very little magic going on here.   iBATIS knows very little about your table s

Re: compare to string value

2005-08-29 Thread Clinton Begin
IIRC, leave the property="" attribute off of the tage, and it will use the parameter object directly. ClintonOn 8/26/05, Nathan Maves <[EMAIL PROTECTED]> wrote: what is the syntax to use the dynamic tags against the stringparameter that was sent in?Nathan

Re: Most of FAQ links broken

2005-08-29 Thread Clinton Begin
Ack!!  What has happened this time?  Last time the MoinMoin upgrade messed us up.  What could it be this time?  AFAIK Confluence hasn't been changed. Any ideas?  Anyone? Clinton On 8/28/05, Oscar Picasso <[EMAIL PROTECTED]> wrote: Hi,Most of the links in the FAQ are broken (actually all the

AW: multiple insert within a select tag

2005-08-29 Thread Farsi, Reza
Hi Albert,   thanks a lot for the answer. Indeed it was the reason of the problem. I added the following selectKey to my mapping file and it works:           INSERT INTO instrument (internalNumber) VALUES (#internalNumber#) SELECT last_insert_id()      I'm now facing

Re: multiple insert within a select tag

2005-08-29 Thread Albert L. Sapp
Reza, I don't know if this is what is causing the problem, but I think there might be a problem with your table definition for the option table.  instrument_id is supposed to reference the id in the instrument table, but you have it set up as a auto_increment field.  I would think that you would