Wednesday, June 17, 2009

Indian Freeadultmovies

Spring Framework architecture

good if we get to take persistence and
mostly hibernate, we must understand
its architecture, as do a simple
ejerccio not mean that we know use this
persistence.



To use Hibernate, it is necessary to create Java classes
representing the table in the database and then map
instance variable in class with the columns of the database
. Then Hibernate can be used to
perform operations on the database, how to select,
insert, update and delete records in the table


Hibernate has three main components:


Connection Management (Connection Management )

Hibernate provides a management service
connection to provide an efficient connection the data base.
The database connection is the most expensive part of interacting
because it requires a lot of resources to open and close the connection



Transaction management (Transaction Management)

user provides the ability to run more of
a database at a time.


Object relational mapping (Object Relational Mapping)

is the technique of mapping data representing a model
relational data model as an object.
This part of the uses to select, insert, update and delete records
the underlying table. When we pass a
object to a Session.save () method, Hibernate reads the state
variables of that object and executes the query
necessary.

0 comments:

Post a Comment