0

What are the pros and cons of using Apache Db Utils vs Hibernate ?

How it will affect performance of program ?

user3134221
  • 73
  • 2
  • 9

1 Answers1

4

DbUtils is a small in size, lightweight in memory and transparent (it also does what it says) library designed for making interactions with JDBC easier. Hibernate ORM is much more than this and mainly an Object/Relational mapping framework that supports the implementation of the persistence layer of an application.

Hibernate is considered to follow the Data Mapper pattern that suits better to complex data models. Another popular data access pattern that suits to simple data models is the Active Record pattern.