Interesting. I'm not sure what, batchControlDao, is doing here. Currently, what I've just learned from others on this forum and what I'm currently doing is the following:
daoManager.startTransaction(); schoolDao.startBatch(); majorDao.startBatch(); courseDao.startBatch(); ... // do work here. schoolDao.executeBatch(); majorDao.executeBatch(); courseDao.executeBatch(); ... daoManager.commitTransaction(); daoManager.endTransaction(); This seems to be working. Although, when I am batching this way, an awful lot of locks are made on the database. This wasn't happening when I was doing strait JDBC. So, I'm not sure if I'm using your DAO API with batching properly. What do you suggest?
