phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sumit Nigam <>
Subject Batch update error - XCL06
Date Thu, 01 Oct 2015 12:45:10 GMT
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? 
View raw message