Bug 780720 (SOA-3174) - JPA Connector uses JPA 2 API
Summary: JPA Connector uses JPA 2 API
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-3174
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.2.0dev2
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-15 06:25 UTC by Jiri Pechanec
Modified: 2011-11-15 18:14 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-15 18:14:50 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 724800 0 urgent VERIFIED JPA Connector uses JPA 2 API 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-3174 0 None None None Never

Internal Links: 724800

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


Note You need to log in before you can comment on or make changes to this bug.