From: http://www.roseindia.net/hibernate/examples/hibernate-advantages-and-disadvantages.html
Advantages of Hibernate
-
Hibernate is better then plain JDBC:
You
can use Hibernate which generates the SQL on the fly and then
automatically executes the necessary SQL statements. This saves
a lot of development and debugging time of the developer.
Writing JDBC statement, setting the parameters, executing query
and processing the result by hand is lot of work. Hibernate will
save all tedious efforts.
-
Mapping of Domain object to relational database:
Hibernate maps your domain object with the relational database.
Now you can concentrate on your business logic rather than
managing the data in database.
-
Layered architecture:
Hibernate is layers
architecture and you can use the components as per your
application need.
-
JPA Provider:
Hibernate can work as JPA
provider in JPA based applications.
-
Standard ORM:
Hibernate is standard ORM
solutions and it also supports JPA.
-
Database Independent:
Hibernate is database
independent and you can use any database of your choice.
- Caching Framework: There are many caching framework
that works with Hibernate. You can use any one in your
application to improve the performance of your application.
Disadvantages of Hibernate
-
Lots of API to learn:
A lot of effort is
required to learn Hibernate. So, not very easy to learn
hibernate easily.
-
Debugging:
Sometimes debugging and
performance tuning becomes difficult.
-
Slower than JDBC:
Hibernate is slower than
pure JDBC as it is generating lots of SQL statements in runtime.
-
Not suitable for Batch processing:
It
advisable to use pure JDBC for batch processing.
分享到:
相关推荐
随着全球化进程的加速,越来越多的学生选择到国外求学。这一趋势不仅反映在统计数据上,也逐渐成为社会关注的焦点。本文将围绕“留学的优势与劣势”这一主题进行深入探讨。 ### 一、留学的优势 ...
Java Advantages & Disadvantages
this year and into 2019 and beyond. It will come with greater speed, coverage, and responsiveness. Such is our world today that we are unable to live without wireless technologies as it makes our ...
英语作文写作模板之Advantages and Disadvantages类型 在英语作文写作中,Advantages and Disadvantages类型是非常常见的一种题型。这种题型要求学生讨论某一话题的优缺点,并得出结论。下面我们将对这种题型的写作...
- "Obviously, television has both advantages and disadvantages." - "Living in a city has both advantages and disadvantages." - "Compared with cars, bikes have their advantages and disadvantages." ...
The tutorial focuses on practical aspects of filter design and implementation, and on the advantages and disadvantages of the different design algorithms. The theory behind the design algorithms is ...
In the context of artificial intelligence marketing, there are a wide array of predictive analytic techniques available to achieve this purpose, each with its own unique advantages and disadvantages....
In recent years, spectral clustering has become one of the most popular modern clustering ... Advantages and disadvantages of the different spectral clustering algorithms are discussed.
- Obviously, television has both advantages and disadvantages. (显然,电视既有优点也有缺点。) - Living in a city has both advantages and disadvantages. (生活在城市里既有好处也有弊端。) - ...
The code snippet shown in this article is used to delay load a DLL, i.e., DLL is implicitly ... Now, we will actually try to delay load a DLL, and analyze its advantages and disadvantages, so all set
First, we compare the advantages and disadvantages of three typical sensor plans and introduce a general autopilot for a vehicle. Second, we introduce a software architecture for an autonomous ...
异常检测算法综述. Outlier detection has been used for centuries to detect and, ... We identify their respective motivations and distinguish their advantages and disadvantages in a comparative review.
discusses orientation in 3D, including thorough coverage of quaternions and a comparison of the advantages and disadvantages of different representation techniques; describes working C++ classes for ...
We describe several types of PKI and discuss the advantages and disadvantages of each. We argue against several popular and widely deployed models as being insecure, unscalable, or overly ...
However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain ...
In this paper, the author analyzes the principles of new energy vehicle technology and discusses the advantages and disadvantages of new energy vehicle technology. Keywords: New Energy Vehicles, ...
After that, we will discuss in detail various ways to send and receive SMS messages from a computer, the advantages and disadvantages of each way, what SMS service providers are, the hardware (e.g....
and gives a brief theory about the operation, advantages and disadvantages of each type of display. Key features: •Covers topics such as: displaying text on LCDs, scrolling text on LCDs, ...
This publication provides an overview of several types of firewall technologies and discusses their security capabilities and their relative advantages and disadvantages in detail. It also makes ...