Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] bug 338727 - avoid calling JPA 2.0 methods in WDF tests so that they can be execute on a Java EE 5 server

Hi,

 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=338727

 

https://bugs.eclipse.org/bugs/attachment.cgi?id=190297

 

 

I have checked in the patch at #9072.

 

-Adrian

 

 

Adrian Görler
SAP AG

Pflichtangaben/Mandatory Disclosure Statements:
http://www.sap.com/company/legal/impressum.epx

 

From: Kevin Yuan [mailto:kevin.yuan@xxxxxxxxxx]
Sent: Donnerstag, 3. März 2011 20:03
To: Goerler, Adrian
Cc: Dev mailing list for Eclipse Persistence Services
Subject: Re: bug 338727 - avoid calling JPA 2.0 methods in WDF tests so that they can be execute on a Java EE 5 server

 

Thanks for your quick fix, Adrian. I have verified on WLS 10.3.4 without JPA 2.0 support patch and Oracle 11.1.0.7 DB, and everything is back to be fine now.

- Kevin

On 03/03/2011 1:30 PM, Goerler, Adrian wrote:

Hi Kevin,

 

 

please find attached a proposed patch for the issue

 

java.lang.NoSuchMethodError:

javax.persistence.EntityManagerFactory.getCache()Ljavax/persistence/Cache;

 

 

I have tested this patch on JBoss 5.1. It uses the em.getDelegate method, which is to my knowledge not implemented with consist semantics on all servers. Therefore, it would be great if you could apply the patch an re-test on some different server as well.

 

Please let me know if you are experiencing any difficulties.

 

Thanks and regards,

 

Adrian

 

 

 

 


Back to the top