SessionBuilderImplementor sessionBuilderImplementor = factoryImplementor.withOptions();
sessionBuilderImplementor.connection(null);
sessionBuilderImplementor.flushBeforeCompletion(isAutoFlushEnabled());
sessionBuilderImplementor.autoClose(isAutoCloseEnabled());
sessionBuilderImplementor.connectionReleaseMode(factoryImplementor.getSettings().getConnectionReleaseMode());
return s = sessionBuilderImplementor.openSession();
}
return s;
}
public boolean isOpened() {