You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by ra...@wipro.com on 2006/08/02 15:03:52 UTC

java.sql.BatchUpdateException: ORA-01000: maximum open cursors exceeded- Need your help

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

Re: java.sql.BatchUpdateException: ORA-01000: maximum open cursors exceeded- Need your help

Posted by Graeme J Sweeney <ib...@gjsweeney.com>.
On Wed, 2 Aug 2006, rambabu.piridi@wipro.com wrote:

> java.sql.BatchUpdateException: ORA-01000: maximum open cursors exceeded
> But this is working fine with FireBird and MS-SQL

So it's not an iBatis problem then.

<snip/>

> after exactly 150 records i am getting the error.

http://www.cryer.co.uk/brian/oracle/ORA01000.htm

-- 
Graeme -