ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <rambabu.pir...@wipro.com>
Subject java.sql.BatchUpdateException: ORA-01000: maximum open cursors exceeded- Need your help
Date Wed, 02 Aug 2006 13:03:52 GMT

When ever i am trying to insert the more than 500 records i am getting
this error.

java.sql.BatchUpdateException: ORA-01000: maximum open cursors exceeded
But this is working fine with FireBird and MS-SQL
sqlMap.startTransaction();

sqlMap.startBatch();

// The list can contain maximum of thousand records.

while (userListIterator.hasNext())

{

            sqlMap.insert("insertStaticProperties", user);

}

sqlMap.executeBatch();

sqlMap.commitTransaction();S

sqlMap.endTransaction();

after exactly 150 records i am getting the error.





The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email.

www.wipro.com
Mime
View raw message