09-15-2011 05:44 AM
protected void initIdGenerator() {
if (idGenerator==null) {
DbIdGenerator dbIdGenerator = new DbIdGenerator();
dbIdGenerator.setIdBlockSize(idBlockSize);
dbIdGenerator.setCommandExecutor(commandExecutorTxRequiresNew);
idGenerator = dbIdGenerator;
}
}Obviously this will not work if I want to supply my own IdGenerator. Therefore I made some changes and created a patch.if (idGenerator==null) {
DbIdGenerator dbIdGenerator = new DbIdGenerator();
dbIdGenerator.setIdBlockSize(idBlockSize);
idGenerator = dbIdGenerator;
}
if (idGenerator instanceof CommandExecutorAware) {
((CommandExecutorAware) idGenerator).setCommandExecutor(commandExecutorTxRequiresNew);
}09-15-2011 09:43 AM
09-15-2011 05:07 PM
09-15-2011 06:34 PM
09-16-2011 03:13 AM
09-16-2011 03:45 AM
09-16-2011 03:56 AM
09-16-2011 04:08 AM
09-19-2011 10:34 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.