09-10-2014 05:18 AM
09-10-2014 10:04 AM
09-10-2014 12:24 PM
09-11-2014 01:26 AM
09-11-2014 04:15 AM
09-12-2014 12:51 AM
public IdBlock execute(CommandContext commandContext) {
PropertyEntity property = (PropertyEntity) commandContext
.getPropertyEntityManager()
.findPropertyById("next.dbid");
long oldValue = Long.parseLong(property.getValue());
long newValue = oldValue+idBlockSize;
property.setValue(Long.toString(newValue));
return new IdBlock(oldValue, newValue-1);
}
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.