Summary: | ValidationException is thrown when deploy jpa 2.0 cacheable test model on Server | ||
---|---|---|---|
Product: | z_Archived | Reporter: | Yiping Zhao <yiping.zhao> |
Component: | Eclipselink | Assignee: | Yiping Zhao <yiping.zhao> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | CC: | eclipselink.orm-inbox, kevin.yuan, michael.f.obrien, tom.ware |
Version: | unspecified | Keywords: | test |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Yiping Zhao
2010-04-23 15:11:14 EDT
Reassigning to QA. The Ear that gets build contains classes that do not match the classes in the mapping xml. check in the fix in trunk as revision 7344. The following changes include the fix and other updates, the changes are: 1. in <trunk>/jpa/eclipselink.jpa.test/build.xml (1). update model dir to be "org/eclipse/persistence/testing/models/jpa/xml/cacheable" in jpa/eclipselink.jpa.test/build.xml (2). enable the tests on server 2. change trunk\jpa\eclipselink.jpa.test\src\org\eclipse\persistence\testing\tests\jpa\cacheable\CacheableModelJunitTest (1). exclude the tests which have nested entity managers because that's not allowed on server. (2). put em.refresh() statements inside transaction, since it's needed on server code is reviewed by Kevin Yuan. Already fixed on 2.1. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |