Bug 780720 (SOA-3174)

Summary: JPA Connector uses JPA 2 API
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Jiri Pechanec <jpechane>
Component: EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.2.0dev2   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3174
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-15 18:14:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Pechanec 2011-07-15 06:25:47 UTC
project_key: SOA

JPA Connector uses JPA 2 API but SOA-P 5.2 has only JPA 1 packaged. En exmaple of the problem is
java.lang.NoSuchMethodError: javax.persistence.EntityManager.unwrap(Ljava/lang/Class;)Ljava/lang/Object;
	at org.modeshape.connector.store.jpa.JpaSource.determineDialect(JpaSource.java:1346)
	at org.modeshape.connector.store.jpa.JpaSource.getConnection(JpaSource.java:1295)
	at org.modeshape.connector.store.jpa.JdbcConnectionTest.shouldAutoDetectDialectAndSetOnJpaSource(JdbcConnectionTest.java:131)

ModeShape must be Java EE 5 compatible.

Comment 1 Lukáš Petrovický 2011-07-15 06:33:40 UTC
Link: Added: This issue Cloned to SOA-3175


Comment 2 Van Halbert 2011-07-15 14:03:26 UTC
This was fixed with MODE-1214 and will be in the next build.

Comment 3 Len DiMaggio 2011-11-15 18:14:50 UTC
Fixed before ER1