Apache dbutils vs Hibernate

时间:2015-07-02 09:20:45

标签: hibernate apache-commons-dbutils

使用Apache Db Utils与Hibernate有什么优缺点?

它会如何影响程序的性能?

1 个答案:

答案 0 :(得分: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.

相关问题