public static void commit() {
try {
DBEnvironment environment = DBEnvironmentFactory.getCurrentDBEnvironment();
environment.connectIfNeeded();
environment.commit();
} catch (Exception e) {
throw ExceptionWrapper.getUndeclaredThrowableExceptionCaused(e);
}
}