Wednesday, January 4, 2017

Which is better?? Ibatis Vs Hibernate


  • Hibernate maps your objects to tables whereas iBatis maps your Objects to SQL Queries.
  • Hibernate works better if your view is Object centric, if your view is database centric then Ibatis is a much centric is a much stronger.
  • If legacy database schema is present and you need to write fairly complicated SQL, use Ibatis.
  • Ibatis is a database mapper framework, it maps fields in RDBMS tables to attributes in object while Hiberante is an Object relational mapping framework which maps object to relational database.


No comments:

Post a Comment

Interview Prep: Java full stack

 SOLID principle :  https://www.educative.io/answers/what-are-the-solid-principles-in-java Design Pattern:  Creational:  https://medium.com...