for (; i < Integer.MAX_VALUE; i++) {
DynamicTestClass dynamicTestClass = new DynamicTestClass(className,i);
Object obj = dynamicTestClass.load(sessionContainer);
classLoaderForShortLengthObject = dynamicTestClass._classLoader;
sessionContainer.set(obj);
sessionContainer.commit();
IPersistentObjectStatistics objectStatistics = sessionContainer.getPersistenceStatistics(obj);
dynamicTestClass.delete();
long size = objectStatistics.getBodySize();
if(size >= 0xFF){
break;