Community
Participate
Working Groups
Build Identifier: eclipselink-2.3.1.v20111018-r10243 JPA 2.0 spec section 3.6.1.1 mention auto, callback, none as correct values of map key javax.persistence.validation.mode. But EclipseLink 2.3.1 and lower throws an Internal Exception: java.lang.IllegalArgumentException: No enum const class javax.persistence.ValidationMode.none Reproducible: Always Steps to Reproduce: run code like the following: Map<String, String> props = new HashMap<String, String>(); props.put("javax.persistence.validation.mode", "none"); // works with 'NONE' EntityManagerFactory emf = Persistence.createEntityManagerFactory("..", props);
Reproduced issue in trunk.
Created attachment 208956 [details] Fix and testcase
Checked into trunk (2.4) at revision: 10644
Checked into 2.3 branch at revision: 10645
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink