September 30, 2008 at 12:16 PM
Hi friend,
Advantages of hibernate :
It is based on object oriented concept like java.
It has better compatibility with java than sql.
In Jdbc we have to mannualy handle exception
We need to open/cose the connection,create/close the statement ,resultset every time.
It uses ORM which is a better solution.
In Jdbc we use .properties file and in hibernate we use .xml file ,which is a better approach.
We use collection,mapping.
Some advanced features of Hibernate are :
It uses Object-oriented query language.
Transparent persistence without byte code processing
Automatic primary key generation
Object/Relational mapping definition
High performance then JDBC
Caching objects : The session is a transaction-level cache of persistent objects.
Executing SQL statements later : The session never issues an INSERT or UPDATE until it is actually needed.
Never updating unmodified objects : Hibernate always knows if an object?s state actually changed, as long as you are inside the same.
Efficient Collection Handling : Hibernate only ever inserts/updates/deletes collection rows that actually changed.
Updating only the modified columns.
Outer join fetching
Lazy collection initialization.
For read hibernate Tutorial and examples in details to visit...
http://www.roseindia.net/hibernate/index.shtmlThanks
Related Tutorials/Questions & Answers:
Need for hibernate - HibernateNeed for hibernate Can anyone say why should we go for
hibernate? Hi friend,
Advantages of
hibernate :
It is based on object....
In Jdbc we have to mannualy handle exception
We
need to open/cose the connection
Hibernate: need of ORM tools like hibernateHibernate:
need of ORM tools like hibernate Why do you
need ORM tools like
hibernate?
ORM stands for Object/Relational Mapping.
Hibernate is open source ORM tool. ORM is technology to access the data from
Advertisements
I need hibernate session factory example.I
need hibernate session factory example. Hi,
I want a simple
hibernate session factory example..
hello,
Here is a simple
Hibernate SessionFactory Example
Also go through the
Hibernate 4
Thanks
needneed i
need a jsp coding based project plz help me
Need of ORMNeed of ORM Why do you
need ORM tools like
hibernate hibernatehibernate hi
what are the necessary jar files that we
need to set in the classpath to execute a
hibernate application
I need an example of sessionfactoryI
need an example of sessionfactory Hi,
I
need an example of session factory in
hibernate. If you can provide me one with, that would be great...Thanks
HibernateHibernate hi sir i
need hibernate complete tutorial for download
Hi Friend,
Please visit the following link:
Hibernate Tutorials
Thanks
need of codeneed of code howto convert greyscale image to binary image in java
need codingneed coding sir i
need code for simple bank application in jsp please send it
sir i
need the coding for simple bank application in jsp.
Please visit the following link:
Jsp Bank Application
Need SuggistionNeed Suggistion how to call a callable statement in our jSp page using Struts environment
urgent need urgent
need Input a line. Count the number of words that start with a capital letter
Need ProjectNeed Project How to develop School management project by using Struts Framework? Please give me suggestion and sample examples for my project
need to Program need to Program Can any one help me on below
How to insert more then one records in EXCEL Sheet using JSP
need queryneed query hi sir ,
i am beginner to sql.i
need a query so that it can be helpful to my project.
i have four tables each containing different fruits with different amounts.
i
need a query in such a way that when i say some
need projectneed project hi im new on this site so dnt knw actual procedure . but i
need a project on banking system in java with sql database. which should... is good plz add it
i
need project till Saturday i.e 10th march 2012
plzzzz
need answerneed answer Given a phone number, as a string, generate the lettercombinations that are possible based on the telephone keypad's number/letter relationship (ie, 1 is related to no letters, 2 is related to 'a' 'b' 'c', 3
Need helpNeed help Hello...
I
need some help
I have a method which contains 1 string value and i wnat when this method get called den that string value should b assigned as array name..
for example..
i have a method name() which
Need helpNeed help Hello...
I
need some help
I have a method which contains 1 string value and i wnat when this method get called den that string value should b assigned as array name..
for example..
i have a method name() which
Need of JUnitNeed of JUnit Hi sir,
What makes JUnit better than other testing tools for Java Unit testing?
Hi friend..
It is better to know.... There's no
need to manually comb through a report of test results.ADS_TO_REPLACE_2
4
Need helpNeed help Dear sir, I have a problem. How to write JSP coding, if a user select a value from drop down list for example department, the another drop down list should show the list of name in the department that chosen before
need codeneed code Create Vehicle having following attributes: Vehicle No., Model, Manufacturer and Color. Create truck which has the following additional attributes:loading capacity( 100 tons?).Add a behavior to change the color
NEED A PROG NEED A PROG whats the program to add,delete, display elements of an object using collecions. without using linked list
Hi Friend,
Try the following code:
import java.util.*;
class CollectionExample
{
public
need codeneed code Create Vehicle having following attributes: Vehicle No., Model, Manufacturer and Color. Create truck which has the following additional attributes:loading capacity( 100 tons?).Add a behavior to change the color
need codeneed code Create Vehicle having following attributes: Vehicle No., Model, Manufacturer and Color. Create truck which has the following additional attributes:loading capacity( 100 tons?).Add a behavior to change the color
Need help with this!Need help with this! Can anyone please help me with this? It's suppose to write to a file student information: student name, student Id, test scores... to effectivly end the loop with out the
need to break it.
for(i=(0); i <
HIBERNATE HIBERNATE What is difference between Jdbc and
Hibernate hibernatehibernate what is
hibernate listeners
hibernate - Hibernatehibernate what is
hibernate and how to make a pc hibernating? Hi friend,
Hibernate is based on object oriented concept like java... handle exception
We
need to open/cose the connection,create/close the statement
hibernatehibernate how to uses optional column in
hibernate hibernatehibernate please give me the link where i can freely download
hibernate software(with dependencies)
Learn
hibernate, if you want to learn
hibernate, please visit the following link:
Hibernate Tutorials
HibernateHibernate
hibernate delete query execution
hibernatehibernate what is
hibernate why we use
HibernateHibernate how to use pagination concept in
Hibernate Hibernate - EJBhibernate ejb hibernatepersistence jar
Need to know about
hibernate ejb hibernatepersistence jar
hibernate hibernate I want to learn how to use
hibernate framework in web application . for storing database in our application
hibernate hibernate I want to learn how to use
hibernate framework in web application . for storing database in our application
hibernatewhy
hibernate? why
hibernate?
Hibernate: -
Hibernate... library.
It solves object-relational impedance mismatch problems.
Hibernate makes the application development process easy
Hibernate saves the development
hibernatehibernate pls give one simple example program for
hibernate hibernatehibernate why we should use
hibernate projection
HibernateHibernate Please tell me the difference between
hibernate and jdbc
HibernateHibernate hello,
how to run
hibernate program in netbeans?please send me step by step instructions to run
hibernate in netbeans
hibernatehibernate can any one one explain what is
hibernate ?
Please visit the following link:
Hibernate Tutorials
hibernatehibernate how to execute a sequence(in database) from
Hibernate program or java program
Please visit the following link:
Hibernate Tutorials
HibernateHibernate How do you handle parent - child tables relationships in
hibernate?
How do you handle Detach state in
hibernate