Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

which ORM to use with spring framework

 
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.




 
We must storm this mad man's lab and destroy his villanous bomb! Are you with me tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic