|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JPA with Hibernate or just JPA |
« View previous topic :: View next topic » |
Author |
Message
|
vennela |
Posted: Mon Jul 06, 2015 1:44 pm Post subject: JPA with Hibernate or just JPA |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I know this is not a Java forum, but this is the only forum I am used to
Should JPA provider be OpenJPA or Hibernate?
If I am building a completely new application, should I just stick to JPA and not use Hibernate at all.
Based on what I have researched so far, JPA with OpenJPA is better and not touch Hibernate at all.
One of the articles I read is what I am basing my opinion on
http://www.ibm.com/developerworks/websphere/techjournal/1008_col_sutter/1008_col_sutter.html
Please let me know |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Jul 07, 2015 6:39 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
am not sure the jpa version you are using, the jpa 2 is not supporting stored procedures properly that means you have to use most updated jpa version _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
vennela |
Posted: Tue Jul 07, 2015 9:25 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Well, after some more research, I found that I have to use some kind of implementation of JPA. Either use OpenJPA from Apache, or Hibernate or something similar. So, my question itself was wrong.
Someone in the article below says
Quote: |
JPA is the dance, Hibernate is the dancer. |
http://stackoverflow.com/questions/9881611/whats-the-difference-between-jpa-and-hibernate
So, now the question should be, should I use OpenJPA or should I use Hibernate. I am inclined towards OpenJPA.
Our app is very simple, and do not use Stored Procedures, so we should be OK there |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Jul 07, 2015 10:02 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
then openJPA will be the right choice  _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|