0% found this document useful (0 votes)
15 views

The Basis of Comparison Spring Hibernate

Uploaded by

mrnovoa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

The Basis of Comparison Spring Hibernate

Uploaded by

mrnovoa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

The basis of comparison   Spring Hibernate

Definition Spring is an open-source Hibernate is a Java

application framework which framework which provides

is complete and modular for an object-relational

developing applications as it mapping to an object-

will take care of oriented model to the

infrastructure and relational database which is

developers need to specialized in data

concentrate on business persisting and retrieval of

logic. data from the database.

Usage Spring framework is useful Hibernate framework

for transaction provides object-relational

management, aspect- persistence, access data

oriented programming, and layers and query retrieval

dependency injection; service for applications for

develop applications from enterprise level

desktop to web enterprise applications in Java.

applications in Java.

Modules Spring framework which is Hibernate framework which

light-weight, open source is light-weight, open

and cross-platform have a source and cross-platform


lot of modules some of offers object-relational

them are Spring core, Spring model mapping between

security, Spring JDBC, Spring Java classes and database

MVC, and many more tables hence there no

modules. modules in it like Spring.

Developer Spring is an open-source Hibernate framework is an

application framework object-relational mapping

developed by pivotal which between Java classes and

provides infrastructure database tables developed

support to developers and by a red hat and also

lets developers concentrate provides support for data

on logic. persistence and data

retrieval from tables.

Versioning Spring framework has no Hibernate framework has

support for versioning as we versioning as an important

need to use JDBC feature where developers

connection to a database can define version fields in

with spring framework and the application and

developers need to handle whenever there is a change

when two users in data it will update. When

simultaneously modifying two users simultaneously


the data and using. retrieve the same data and

use and one user saves the

data after modifying then

version will update and

next user changes will

affect on the latest dataset.

Connection Pooling Spring framework has Hibernate framework has

support for connection support for connection

pooling by changing the pooling by storing

configuration in spring database connections in a

configuration file for Java cache while creating and

applications, web and uses after whenever we are

desktop applications but it connected to a specific

has the problem of database which will help to

connection pooling increase the performance

exhausted in few cases. and we can enable

connection pooling by

changing configuration file

of hibernate.

You might also like