app/models/utils/Model.java
private static EntityManager safeGetEntityManager() {
		try {
			return JPA.em();
		} catch (Exception ex) {
			return JPA.em("default");
		}
	}
// should only be used in static methods

should only be used in static methods
should only be used in static methods
private static EntityManager safeGetEntityManager() {
		try {
			return JPA.em();
		} catch (Exception ex) {
			return JPA.em("default");
		}
	}
private static EntityManager safeGetEntityManager ( ) { try { return JPA . em ( ) ; } catch ( Exception ex ) { return JPA . em ( "default" ) ; } }
should only be used in static methods
should only be used in static methods