Getting started with iBatis – a great alternative for JDBC

8
Share.

About Author

8 Comments

  1. Eric Elzinga on

    Hi Jeroen,
    Any idea what framework to use if we want to map stored procedures with object types and recordtypes and plsqltables as out parameters ?
    From what i can see it isn’t really easy to do this with Ibatis

  2. lavanya.olety on

    hi,
    currently i’m working on both hibernate and ibatis .i felt material u have provided is excellent and easily understood .i want material to be enlarged like how to create a sample project on both hibernate and ibatis for intial users to understand easily by providing steps and procedure .can u update the material

  3. Hi
    Can anybody tell me which one is better Ibatis or Hybernet? can we say that Hybernet is complete replacement for Ibatis?

  4. Hi,

    I am currently using hibernate to map the java classes to the database tables….but i want to work on ibatis…..also i need a presentation document for the comparison between iBatis & Hibernate…..pl. help me….

  5. I tend to disagree with your conclusion that “iBATIS is for the really simple stuff”. In our organization, we have a very complex system of table relationships (where some table and column mappings are stored as values in other tables), stored procedures, db objects and collections, and other things that Hibernate or EJB3 simply cannot map or maps poorly. iBATIS was really the only choice save doing it completely manually.

    One unique feature of iBATIS is the custom type handlers, which make mapping enums to columns very nice. From what I’ve read, this can be approximated with enums in EJB3.

    Still, I think you’re right in that most anyone who is programming straight JDBC can get up to speed very quickly and be better off for it. If you combine iBATIS with Spring’s JDBC template API, you can potentially “upgrade” to Hibernate or JPA at some later time.