This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which ORM to use with spring framework

 
Lucky J Verma
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic