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.
分享到:
相关推荐
The Advantages and Disadvantages of Studying Abroad
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 ...
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....
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 ...
advantages and disadvantages, the basic features and the market strategy. I review the adaptation of this new technology from the view of prospective mobile software developers, customers and ...
with respect to their advantages and disadvantages. Especially the use of Digital Filters (DF) and Fast Fourier Transform (FFT) are compared. In general FFT analysis is best suited for heavily damped ...
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
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.
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 ...
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 ...
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 ...
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, ...
re building.Author Anders Goransson demonstrates the advantages and disadvantages of each technique, with sample code and detailed explanations for using it efficiently. The first part of the book ...
简要介绍WLAN Introduction Background Feature of WLAN Technologies of WLAN Advantages and disadvantages Current status Application Future of WLAN conclusions
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 ...
Each chapter begins with a review of the technologies, examining how they work, their advantages and disadvantages, as well as some of their established market applications. Numerous approaches are ...