Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #33151

Performance JPA

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.java.programmer
Subject Performance JPA
Date 2015-11-20 09:41 +0100
Organization Decebal Computing
Message-ID <87h9khysdn.fsf@Equus.decebal.nl> (permalink)

Show all headers | View raw


I am at the end of my first JPA project. At the moment we are working
with one entity manager in the application. I heard that it could be a
good idea to use several entity managers, because that could improve
the performance. Is this true, or just a myth?


Also I was told that Hibernate is about three times as fast as
openJPA. We are required to use openJPA because we are using the IBM
Web Application Server. The performance with openJPA is about the same
as when the application used JDBC. So then it looks not very
reasonable to think that Hibernate will be three times as fast as
openJPA. But I also understood that IBM WAS uses a highly optimised
version of openJPA.

Is it true that Hibernate is a lot faster, or is it a case of: lies,
damned lies and statistics?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Performance JPA Cecil Westerhof <Cecil@decebal.nl> - 2015-11-20 09:41 +0100
  Re: Performance JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-11-20 19:24 -0500

csiph-web