Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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 Kevin,
 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=338727
 
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