phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sumit Nigam <sumit_o...@yahoo.com>
Subject Batch update error - XCL06
Date Thu, 01 Oct 2015 12:45:10 GMT
Hi,
I am using Statement's executeBatch method. Intermittently, I get XCL06 which when I look
up Phoenix error codes means - "An executeUpdate is prohibited when the batch is not empty.
Use clearBatch to empty the batch first."
Now, I am never reusing the statement used to construct the batch and I am always executing
batch only once. Summarily, I always create a new batch. So, any reason why I need to clear
the batch after every execution? 
ThanksSumit
Mime
View raw message