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.


Palkar.



--shoutout Marcus 



-----Original Message-----
From: Shenoy, Gourav Ganesh <[email protected]>
To: dev <[email protected]>
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 <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Monday, July 31, 2017 at 10:03 AM
To: "[email protected]" <[email protected]>
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.

 

 

Thanks,

 

A. Palkar 

 

--shoutout marcus



Reply via email to