from this examples i have read:
https://github.com/vanderschoot/employees/blob/master/employeesJSFH/src/test/java/org/biz/employees/model/dao/DepartmentDAOTest.java http://tomee.apache.org/examples-trunk/telephone-stateful/README.html https://rmannibucau.wordpress.com/2012/06/18/running-arquillian-test-using-different-tomeeopenejb-adapters-in-the-same-buildartifact/ .................................................................... 1) question : properties.setProperty("openejb.embedded.remotable", "true"); what it is this properties? what change if i put false??? ---------------------------------------------------------------------------- 2) question from : https://rmannibucau.wordpress.com/2012/05/03/testing-a-jee-application-with-openejb-and-tomee/ @Module // a persistence.xml public Persistence persistence() { final PersistenceUnit unit = new PersistenceUnit("my-unit"); unit.addClass(Something.class); unit.setProperty("openjpa.RuntimeUnenhancedClasses", "supported"); unit.setProperty("openjpa.jdbc.SynchronizeMappings", "buildSchema(ForeignKeys=true)"); unit.setExcludeUnlistedClasses(true); final Persistence persistence = new Persistence(unit); persistence.setVersion("2.0"); return persistence; } unit.setProperty("openjpa.RuntimeUnenhancedClasses", "supported"); it set up the openjpa to automatically eahbcedClass ?? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/properties-setProperty-openejb-embedded-remotable-true-unit-setProperty-openjpa-RuntimeUnenhancedCla-tp4673665.html Sent from the TomEE Users mailing list archive at Nabble.com.
