List of usage examples for org.hibernate.cfg AvailableSettings ENABLE_LAZY_LOAD_NO_TRANS
String ENABLE_LAZY_LOAD_NO_TRANS
To view the source code for org.hibernate.cfg AvailableSettings ENABLE_LAZY_LOAD_NO_TRANS.
Click Source Link
From source file:ar.edu.utn.sigmaproject.web.ApplicationConfig.java
License:Open Source License
Properties additionalProperties() { Properties properties = new Properties(); properties.setProperty(AvailableSettings.HBM2DDL_AUTO, this.hbm2ddl); properties.setProperty(AvailableSettings.DIALECT, "org.hibernate.dialect.MySQL5InnoDBDialect"); properties.setProperty(AvailableSettings.ENABLE_LAZY_LOAD_NO_TRANS, "true"); return properties; }