Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Hibernate why to use hibernet vs jdbc
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


anjali pathuri
why to use hibernet vs jdbc
1 Answer(s)      4 years and a month ago
Posted in : Hibernate


plz send me the reply


Advertisement
View Answers

December 8, 2010 at 12:27 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 whereas 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:
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
why to use hibernet as a dataacces layer
why to use hibernet as a dataacces layer  plz give me the reply
Advertisements
diff detween jdbc and hibernet
in JDBC there is a use of SQL. 3) As Hibernate Supports two level of cache...diff detween jdbc and hibernet  plz give me the reply   Hi Friend, Differences: 1) Hibernate is data base independent Where JDBC
Java vs Oracle Connectivity - JDBC
Java vs Oracle Connectivity  Write a java program to establish connection with oracle database?  Hi Friend, Use Oracle with Java...) Load and Register the JDBC driver:*********** DriverManager.registerDriver
Best JDBC Driver and Why - JDBC
Best JDBC Driver and Why   Hi Friends , In JDBC 4 drivers are there among this which is best and why. which driver is most commonly used in web application
jdbc vs hibernate
In this section, you will learn why hibernate is better option than using JDBC
Why to use Session interface in Hibernate?
Why to use Session interface in Hibernate?  Why to use Session interface in Hibernate?   Session interface is defined... between the application and the persistent store. It wraps the JDBC connection
Why do we use ORM?
Why do we use ORM?  Why do we use ORM?   ORM is technology to access the data from the database. With the help of ORM framework, business... define the mapping of which property for which column. In ORM we can use plain java
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
Why not use Double or Float to represent currency?
Why not use Double or Float to represent currency?  Why not use Double or Float to represent currency
why we use constructors instead of methods in java?
why we use constructors instead of methods in java?   why we use constructors instead of methods in java
Why to use Spring Framework?
Why to use Spring Framework in a web application? In this article I... on the Spring libraries. ADS4ThUnitADS Why to use the Spring Framework? Here is points that describes why to use the Spring Framework? Spring framework
Why we use singleton class in hibernate sessionfactory?
Why we use singleton class in hibernate sessionfactory?  Hello, Please tell me why we use singleton class in hibernate sessionfactory? hibernate sessionfactory singleton example would be very helpful. Thanks
why we use abstract class in java?
why we use abstract class in java?  what is the the purpose of abstract class.Give example when to use abstract and when use interface
why we use design patterns in java?Example?
why we use design patterns in java?Example?  Hi..... Why we use design patterns?,why they are needed in programming languages?,advantages?   hi friend, please go through the following links may this will be helpful
Which java collection to use in scenario below and Why?
Which java collection to use in scenario below and Why?  I want to store thousands of record in a collection and later I want to search. For best and optimized results, which collection will I prefer
why we use struts framework instead of springs
why we use struts framework instead of springs  why we use struts framework instead of springs    It depends upon your application requirements.In some cases spring is better and in some cases struts is better
Why we use Semicolon after SQL Statements?
Why we use Semicolon after SQL Statements?  Why we use Semicolon after SQL Statements?   Hi, Some database systems require a semicolon at the end of each SQL statement.The semicolon character is a statement
Why <servlet-name> use in web.xml - JSP-Servlet
Why <servlet-name> use in web.xml  WHY DO WE USE THE <SERVLET-NAME>TAG IN WEB.XML APPLCATION   WHY DO WE USE THE <SERVLET-NAME>TAG IN WEB.XML APPLCATION AND HOW A simple program of using <servlet
arrays,why we cannot use this statement
arrays,why we cannot use this statement  import java.util.*; class Dash{ public static void main(String args[]){ int x0=100; int[] x1=new int[3]; int[][] x2=new int[3][3]; int[][][] x3
arrays,why we cannot use this statement
arrays,why we cannot use this statement  import java.util.*; class Dash{ public static void main(String args[]){ int x0=100; int[] x1=new int[3]; int[][] x2=new int[3][3]; int[][][] x3
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 : keshab78@gmail.com
why we use ^ operator in sql, and what is the meaning of that operator?
why we use ^ operator in sql, and what is the meaning of that operator?  why we use ^ operator in sql, and what is the meaning of that operator
JDBC vs ORM
JDBC vs ORM       In this section we will examine the differences and similarities between JDBC... into persistence storage for future reference. What is JDBC? JDBC stands for Java
websphere vs weblogic
websphere vs weblogic  websphere vs weblogic Why you are using websphere instead of weblogic
Use JDBC to connect Microsoft Access
Use JDBC to connect Microsoft Access  How to use JDBC to connect Microsoft Access
how to use dirivers - JDBC
how to use dirivers  i try connecting to a database with this code but i get this ClassNotFoundException, already i have added the path..."); connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root
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..., Plz specify in detail. you are created three table but why? plz send me
Hibernate vs JDBC
This section is better understanding of how hibernate is differ from JDBC
compiler vs interpreter
compiler vs interpreter  "compiled program executes faster especially if the program contains loop" Why
Why we should use string args[] in main method in java?
Why we should use string args[] in main method in java?  we use only string in the main method not any other one.. specify the reason... and tell me each and every meaning of public static void main(String args[])...   
Advertisements
 

 

 

DMCA.com