airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apoorv Palkar <>
Subject Re: Implementation of JPA
Date Tue, 01 Aug 2017 14:36:18 GMT
After talking to marcus/marlon, I've decided to go with just the JDBC implementation. I just
need the ability to read/write to the MySQL DB. I didn't want to spend too much time learning
the material required for JPA.


--shoutout Marcus 

-----Original Message-----
From: Shenoy, Gourav Ganesh <>
To: dev <>
Sent: Tue, Aug 1, 2017 10:31 am
Subject: Re: Implementation of JPA

Hi Apoorv,
Well it’s difficult to say which one is absolutely better over the other. But yes, generally
Hibernate is considered to be more optimized for Persistence/Retrieval on average for large
number of entities. Hibernate also offers more utility methods which at times simplifies the
extra code you would have to write in OpenJPA. But I have used OpenJPA for a long enough time,
and once you get beyond learning the functionalities you realize that it’s easier to deal
with a minimal set of annotations in OpenJPA; whereas Hibernate has some extra wrapper annotations.
An important consideration is compatibility – OpenJPA annotations are certain to work with
most JPA implementations, but not vice-versa. This plays a big role when you want to switch
your JPA implementations (generally does not happen). Having said that, Hibernate has way
more documentation and helpful sources online – if you’re facing any issues, etc.
Thanks and Regards,
Gourav Shenoy

From: Apoorv Palkar <>
Reply-To: "" <>
Date: Monday, July 31, 2017 at 10:03 AM
To: "" <>
Subject: Implementation of JPA


Dear Dev,


I'm currently developing the code for the registry to be used for the monitoring system in
Airavata. I'm looking at the pros/cons of each JPA implementation and was wondering if anyone
has any recommendations. I'm choosing between Hibernate, OpenJPA, and EclipseLink. I understand
Hibernate is the most mature, widely used technology. I was trying to determine Hibernate's
cons. Does anybody have previous knowledge about Hibernate ? My use case for the database(most
likely MySQL DB) is to read/write/store data about experiment ID, name, and statuses.





A. Palkar 


--shoutout marcus

View raw message