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

System Design Interview : 7 Trade-off for higher level

  Clarify the goal & success metrics Users, workload mix (read/write %, real‑time vs. async), target geos, SLIs (P50/P99, availability)...