Share on Google+Share on Google+

anjali pathuri
diff detween jdbc and hibernet
1 Answer(s)      6 years and 4 months ago
Posted in : JDBC

plz give me the reply

Ads

View Answers

December 8, 2010 at 12:55 PM


Hi Friend,

Differences:

1) Hibernate is data base independent Where JDBC is database specific

2) Hibernate is a set of Objects so there is no use of sql whereas in JDBC there is a use of SQL.

3) As Hibernate Supports two level of cache, you can store data into catch for better performance while in JDBC you need to implement your java cache.

4) Development is faster in Hibernate than JDBC.

5) No need to create any connection pool, in case of Hibernate whereas in case of JDBC, you need to write your own connection pool

6) Hibernate Supports automatic versioning of rows but JDBC Not.

7) Hibernate supports lazy loading whereas jdbc does not.

Thanks










Related Tutorials/Questions & Answers:
diff detween jdbc and hibernet
diff detween jdbc and hibernet  plz give me the reply   Hi Friend, Differences: 1) Hibernate is data base independent Where JDBC... in JDBC there is a use of SQL. 3) As Hibernate Supports two level of cache
why to use hibernet vs jdbc
why to use hibernet vs jdbc  plz send me the reply   Hi Friend, Differences: 1) Hibernate is data base independent Where JDBC is database... in JDBC there is a use of SQL. 3) As Hibernate Supports two level of cache, you
Advertisements
Hibernet - Hibernate
Hibernet  Hi , m pratik 4rm gujarat. Currently my clg seminar on hibernet tech. So, wnt the syntax for insert, retrive, delet data in database through hibernet. Plz
hibernet code - Hibernate
hibernet code  is there any good tutorial site . so that hibernet cal learn easily with eclipse ? if u know that then send the link to my mail ID : [email protected]
why to use hibernet as a dataacces layer
why to use hibernet as a dataacces layer  plz give me the reply
Diff between ArrayList and Vector?
Diff between ArrayList and Vector?  What's The Difference between ArrayList and Vector Classes and Can you give me a simple Program for set and List Interface
Your hibernet tutorial is not working - Hibernate
Your hibernet tutorial is not working  Hi, I am learning hibernate from your tutorial. when i execute the 1st hibernate example at following location http://www.roseindia.net/hibernate/firstexample.shtml it working
diff between encapsulation and abstraction code
diff between encapsulation and abstraction code  diff between encapsulation and abstraction code
diff between spring and struts in java
diff between spring and struts in java  diff between spring and struts in java
diff betn show n visible
diff betn show n visible  what is difference between show() & visible method in java
Diff b\w C++ & Java
Diff b\w C++ & Java  What is the difference between C++ & Java
Hibernet one-to-many prjection accessing - Hibernate
Hibernet one-to-many prjection accessing  Hai, I am Vinayak. I have Doubt in hibernate one-to-many accessing projection. Explanation of Question. I have a table PERSONAL and ADDRESS. PERSONAL is one to many association
diff between encapsulation and abstraction code with output
diff between encapsulation and abstraction code with output   diff between encapsulation and abstraction code with output
diff between encapsulation and abstraction code with output
diff between encapsulation and abstraction code with output   diff between encapsulation and abstraction code with output
diff between encapsulation and abstraction code with output
diff between encapsulation and abstraction code with output   diff between encapsulation and abstraction code with output
diff b/w struts 1.0 and 1.2
diff b/w struts 1.0 and 1.2  diff b/w struts 1.0 and 1.2
Diff Bn Actionform and Pojo - Struts
Diff Bn Actionform and Pojo   Hi Friends, I am confused with Pojo and ActionForm ,bcoz both have getter and setter methods.In both we declare fields and corresponding getter n setters also.plz  
diff b/w applet and servlet
diff b/w applet and servlet  what is the difference between applet and servlet?   Difference between servlet and applet: 1)An applet is client side programming whereas servlet is server side programming. 2)Applets run
how to connect the database using hibernet through servlet/jsp through form
how to connect the database using hibernet through servlet/jsp through form  plz give me the reply   Hi Friend, Please visit the following link: http://www.roseindia.net/jsf/myfacesspring/loginRegistration.shtml Hope
diff bw sructs,hipernet,spring - Framework
diff bw sructs,hipernet,spring  what is the difference between structs,hipernet,spring which applications suitabe for structs,hipernet,spring  Hi friend, http://www.roseindia.net/spring/ http://www.roseindia.net
Diff ways to call a EJB from Servlet, JSP - Java Interview Questions
Diff ways to call a EJB from Servlet, JSP  How can I call EJB from Servlet or JSP
Diff between Struts1 and struts 2? - Struts
Diff between Struts1 and struts 2?  What are the difference in between Struts 1 and Struts 2?  Hi Gaurav There is a big difference in struts1 and struts2 you can read it here at http://www.roseindia.net/answers
Diff Bn Marker Interface and instanceOf - Java Interview Questions
Diff Bn Marker Interface and instanceOf   Hi Friends, Wats d difference bn Marker Interface and instanceOf method. Thanks
How can I generate diff image using Jmagick?
How can I generate diff image using Jmagick?  Hi, I used 'compare' in ImageMagick to produce diff image with metric. example: $ compare -verbose... Jmagick. Can anybody help me get a diff image with similar metric using Jmagick
how to develop project using struts,hibernet,,generlly how many layers r there in project
how to develop project using struts,hibernet,,generlly how many layers r there in project  plz give me the reply   Hi Friend, Please visit the following link: http://www.roseindia.net/struts/struts-hibernate/ Thanks
Diff between Runnable Interface and Thread class while using threads
Diff between Runnable Interface and Thread class while using threads  Diff between Runnable Interface and Thread class while using threads   Hi Friend, Difference: 1)If you want to extend the Thread class
Diff between Runnable Interface and Thread class while using threads
Diff between Runnable Interface and Thread class while using threads  Diff between Runnable Interface and Thread class while using threads   Hi Friend, Difference: 1)If you want to extend the Thread class
Diff Bn Uni and Bi-directional Mapping in Hibernate - Hibernate Interview Questions
Diff Bn Uni and Bi-directional Mapping in Hibernate   Hi Friends, I want to know d difference bn uni-directional and bidirectional mapping in hibernate.  Hi I am sending links where u can find
jdbc
jdbc  Hai , Give a steps for jdbc connectivity
jdbc
jdbc  display the records using index in jdbc
Tutorials   
Java Spring Hibernate Struts Training how to retrieve text and images from mysql database and show on html page using jsp servlet How to install Neo4j on Ubuntu 15.10? please help me in these prog MYSQL - mysql copy table to another table example by creating new table solution for mapping hibernate and pojos from net beans through database Connect GWT application with Oracle inventory System of Medical Store inventory System of Medical Store inventory System of Medical Store inventory System of Medical Store This code have created jTable that connected with a database.every cell of last column have a button.But this button doesn't work properly.Where is the error java program Java Database Program jdbc Database connection class in a live project ..?? What is JDBC architecture? Unable to Create DSN for excel to ms access importing data and edit that data Database Scrolling Buttons how to use foreign key in java How to delete content of a log file from linux terminal? JSP-Oracle connectivity Student Management System Java code for Saving Marathi (Indian local language ) in Mysql and retrieving the same crud operations with foreign key constraint. I really need help with this assignment question Please help me out Please Backup Failed Mysqldump Got Errno 28 On Write Upgrade MySQL 5.1 to 5.5 in cpanel mysqldump all databases com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jpa.sequence' doesn't exist persistence xml class element persistence.xml for MySQL MySQL JDBC Driver pom dependency code Blob column jdk6 and oracle 8i connexion oracle 8i et jdk6 java [ cannot retrive date from sql ] why?? Order Entry System How to threow timeout exception when DB is not responding How to threow timeout exception when DB is not responding This is the employee form to add data to mysql database but I got error of NullPointerException, Is this write code please give me feedback as soon as possible make a method which takes user name & pwd as parameter & validate them against the database. If the corresponding user exist return true otherwise false. prabhakar validating credentials and displaying error message in login .jsp if not valid JDBC jdbc jdbc code register servlet vibhu connectiondetails from vibhu

Ads

 
Advertisement null

Ads