Hibernate Training in Chennai (1) - PowerPoint PPT Presentation

About This Presentation

Hibernate Training in Chennai (1)


Greens Technology is a leading Training and Placement company in Chennai. We are known for our practical approach towards trainings that enable students to gain real-time exposure on competitive technologies. – PowerPoint PPT presentation

Number of Views:41
Slides: 13
Provided by: vikianand


Transcript and Presenter's Notes

Title: Hibernate Training in Chennai (1)

  • Introduction-
  • Hibernate is a best platform choose to carrier
    improved your level. Rest system streamlines the
    advancement of java application to collaborate
    with the database. Rest is an open source,
    lightweight, ORM (Object Relational Mapping)
  • An ORM apparatus improves the information
    creation, information control and information get
    to. It is a programming procedure that maps the
    protest the information put away in the database.

Hibernate is an unadulterated Java protest social
mapping (ORM) that permits to delineate old Java
items to social database tables utilizing (XML)
setup records or by comment techniques Provides
a basic API for putting away and recovering Java
questions straightforwardly from the database
This is a center product that oversees
determination Provides a deliberation layer
between the area show and the database
  • JDBC -
  • JDBC remains for Java Database Connectivity. It
    gives an arrangement of Java API for getting to
    the social databases from Java program. These
    Java APIs empowers Java projects to execute SQL
    explanations and communicate with any SQL
    consistent database.
  • JDBC gives an adaptable design to compose a
    database free application that can keep running
    on various stages and cooperate with various DBMS
    with no alteration.

ORM- ORM stands for Object-Relational Mapping
(ORM) is a programming technique for converting
data between relational databases and object
oriented programming languages such as Java, C,
etc. An ORM system has the following advantages
over plain JDBC - 1.Lets business code access
objects rather than DB tables. 2.Hides details of
SQL queries from OO logic. 3.Based on JDBC 'under
the hood. 4.No need to deal with the database
implementation. 5.Entities based on business
concepts rather than database structure. 6.Transac
tion management and automatic key
generation. 7.Fast development of application.
Hibernate Dos- 1.Guide Java class to database
tables and the other way around . 2.Information
inquiry and recovery office . 3.Create the SQL
question in light of the underline DB. what's
more, endeavors to calm the designer from manual
outcome set dealing with and protest change.
4.Make application versatile to all social DB.
5.Improve execution by giving the distinctive
levels of cache(First, Second and Query level).
Hints about Hibernate- 1.Numerous Java
engineers have whined of the "metadata hellfire"
that goes with J2EE advancement. Some have
proposed a development far from XML metadata back
to plain Java code. 2.In spite of the fact that
we hail this proposal for a few issues, ORM
speaks to a situation where content based
metadata truly is vital. 3.Rest has sensible
defaults that limit writing and a develop archive
compose definition that can be utilized for
auto-finish or approval in editors. 4. You can
even naturally produce metadata with different
Workflow Diagram-
Configuration- 1.Essential Hibernate
Configuration Rest gives two elective
arrangement records a standard Java properties
document called hibernate.properties and a XML
designed record called hibernate.cfg.xml. We'll
utilize the XML design record all through this
book, however it's vital to understand that both
setup documents play out a similar capacity
arranging the Hibernate benefit. On the off
chance that both the hibernate. properties and
hibernate.cfg.xml records are found in the
application classpath, at that point
hibernate.cfg.xml abrogates the settings found in
the hibernate.properties document. (As a matter
of fact, we utilize the two records in the case
source code to abstain from putting the database
association informationtion all through the task
catalog tree.)
Before designing Hibernate, you should first
decide how the administration gets database
associations. Database associations might be
given by the Hibernate structure or from a JNDI
DataSource. A third technique, client gave JDBC
associations, is additionally accessible, yet
it's once in a while utilized. Utilizing
Hibernate-oversaw JDBC Connections - The
example arrangement document in posting 1
utilizes Hibernate-oversaw JDBC associations. You
would normally experience this arrangement in a
nonmanaged situation, for example, an independent
Thank you Visit my Home page http//www.trainingi
ntambaram.net/ Contact Us 8939925577,9384637514
Write a Comment
User Comments (0)
About PowerShow.com