Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsEclipseLink Performance (vs. OpenJPA)
https://www.eclipse.org/forums/index.php/mv/msg/781845/1386308/#msg_1386308
has anybody of you changed the JPA provider of an application from EclipseLink to OpenJPA or vice versa and experienced performance issues?
I have a background process which performs a lot of selects and updates and we encountered major performance issues with EclipseLink.
A test with OpenJPA shows that the task runs about 3-5 times faster compared to EclipseLink.
The database is SQL Server 2012.
EclipseLink v2.5.1 vs. OpenJPA v2.3.0
Unfortunately I'm pretty new to JPA and the different implementations of it.
What would be a good approach to nail the difference down and to find the root cause of that behaviour?
Any help is much appreciated.
Thanks and regards,
AH]]>An Hoe2014-06-16T12:57:11-00:00Re: EclipseLink Performance (vs. OpenJPA)
https://www.eclipse.org/forums/index.php/mv/msg/781845/1386380/#msg_1386380
I might have found the biggest difference.
I didn't enable "weaving" up to now.
After enabling it (java -javaagent:eclipselink.jar), the performance looks way better.
Here is a good article which helped me in finding this option:
java-persistence-performance.blogspot.de/2011/06/how-to-improve-jpa-performance-by-1825.html
Regards,
AH]]>An Hoe2014-06-17T08:49:46-00:00Re: EclipseLink Performance (vs. OpenJPA)
https://www.eclipse.org/forums/index.php/mv/msg/781845/1389473/#msg_1389473
Dave Tiger2014-06-27T21:50:25-00:00