what is hibernate

treeexcellentΛογισμικό & κατασκευή λογ/κού

13 Δεκ 2013 (πριν από 3 χρόνια και 5 μήνες)

67 εμφανίσεις

Java

Persistence
-
Hibernate


Page
1
of
1


what is hibernate


notes
001

Created
02/26/2008

T. Patrick Bailey



what is hibernate


This is my first take on what hibernate is….


Hibernate is an open source ORM (Object/Relational Mapping) tool.
That is a lot of concept to squeeze in one sentence.
In simple terms it
a tool that can map a Java Object into a Relational Database and can
take Relational Database data and map it to a Java Object.


It’s a way to persist your Java Objects into a Database! And much
more! (Well I think so I am still trying
to figure it out at this point)



Why not do it yourself?


Using Java with JDBC you could map information to a Java object
from a DB and vice versa.


Hibernate promises to get the same results with fewer developer hours
and it takes the effort, behind t
he scenes, to speed up information
retrieval and updates from/to the DB.


In other words you program hibernate once and hibernate will attempt
to make better SQL queries to the DB you are currently using. Switch
to another DB and hibernate will use SQL q
uires that are better suited
for that DB.



(I may need to revisit this write up someday once I understand
hibernate better)






References

[1]
James Elliot, What is Hibernate



http://www.onjava.com/pub/a/onjava/2005/09/21/what
-
is
-
hibernate.html

9/21/2005, Visited 2/2009


[2] Wikipedia Hibernate page
,


http://en.wikipedia.org/wiki/Hibernate_(Java
)

Visited 2/2009

[3]
Hibernate main page


http://www.hibernate.org/


Visited 2
/200
9