Application Server Solutions for Microsoft IIS and ASP.NET
       solutions   products   partners   company   support   downloads         store
JTurbo Self-Help: FAQ
Back to Search >  Back to Search Results

Faq ID 155
Product JTurbo
Category PreparedStatement
Question I can't seem to get Batch Updates to work correctly, what is wrong?
Answer When this problem occurs, only the query that was last added to the batch is executed. And that query is executed once for every time that addBatch() was called. If the query involves inserting a record that has a unique primary key, SQLExceptions can be thrown from trying to insert duplicate ids.
This problem has been fixed in JTurbo 3.0, so feel free to download JTurbo 3.0.



   
company media information terms of use privacy policy contact us