wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes which ORM to use with spring framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "which ORM to use with spring framework " Watch "which ORM to use with spring framework " New topic
Author

which ORM to use with spring framework

Lucky J Verma
Ranch Hand

Joined: Apr 11, 2007
Posts: 278

We have been using JDBC Access & SimpleJDBCTemplate/JDBCCall in our application for db access and are considering to move to
some ORM framework.
personally i have worked on JPA and Hibernate in the past but i read about many other orm frameworks
like toplink , iBatis, and Apache cayenn which ii read is very good.
http://bill.dudney.net/roller/bill/entry/1

So i am confused about which one should be used?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Use the one that works best for your problem area. The first thing I'd ask myself is "why do I think I need to move to an ORM solution?" - Is your current JDBC solution too hard to maintain? Is there too much hand wiring? Is the code becoming difficult to maintain? Is it difficult to test? Once you've answered those questions you can beging to look at the other solutions and find out which ones solve the problems you're having.

If you don't do that you're making an ignorant decision which will generally be the wrong decision.


GenRocket - Experts at Building Test Data
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

Also while making your informed decision as Gregg pointed out be aware of the following

iBatis is no longer supported. MyBatis (the new iBatis) is supported. Also MyBatis is not an ORM, it is an SQL Mapping framework.
Apache Cayenne is not JPA compliant.

The major JPA compliant persistence providers are Hibernate, Toplink, OpenJPA, and Eclipselink.





[How To Ask Questions][Read before you PM me]
 
 
subject: which ORM to use with spring framework
 
Similar Threads
Confused about ORM tool selection.
Topic : comparing Hibernate with iBatis
Criteria to use Hibernate in your design
Does this ORM exist?
JPA and Hiberate