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



Home Answers Viewqa Hibernate why to use hibernet vs jdbc

Have Programming Question? Ask it here!
 
 
 


anjali pathuri
why to use hibernet vs jdbc
1 Answer(s)      3 years and 4 months 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
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 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
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 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 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 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 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
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 <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
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
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
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
Use JDBC to connect Microsoft Access
Use JDBC to connect Microsoft Access  How to use JDBC to connect Microsoft Access
websphere vs weblogic
websphere vs weblogic  websphere vs weblogic Why you are using websphere instead of weblogic
Hibernate vs JDBC
This section is better understanding of how hibernate is differ from JDBC
JDBC
JDBC  why we use batch in jdbc
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[])...   
compiler vs interpreter
compiler vs interpreter  "compiled program executes faster especially if the program contains loop" Why
get UnsatisfiedLinkError when I try to use my JDBC driver.
get UnsatisfiedLinkError when I try to use my JDBC driver.  Why do I get UnsatisfiedLinkError when I try to use my JDBC driver
ejb vs hibernate - EJB
ejb vs hibernate  1>>> If we have ejb entity bean why we need hibernate? 2>>> Is hibernate distributed
getResourceAsStream() vs FileInputStream
getResourceAsStream() vs FileInputStream  getResourceAsStream() vs FileInputStream
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
why and where we use setter and getter methods in java, please give me one example program.....
why and where we use setter and getter methods in java, please give me one example program.....  why and where we use setter and getter methods in java, please give me one example program
encapsulation vs abstraction
encapsulation vs abstraction  what is the difference between encapsulation and abstraction
oracle vs sql
oracle vs sql  what is the difference between oracle and sql
jdbc - JDBC
Why JDBC   JDBC used for what
use JDBC to execute non-standard features that my DBMS provides.
use JDBC to execute non-standard features that my DBMS provides.  Can I use JDBC to execute non-standard features that my DBMS provides
Why spring?
Why spring?  Why do we need to learn Spring? and where can we use it thanks
Interface vs abstract class
Interface vs abstract class  Hai, Is there any possible to defining abstract methods in Interface
JETM vs Jprofiler
JETM vs Jprofiler  Can anyone explain the difference between Java Execution Time Measurement(JETM) and Jprofiler
Why PHP ?
Why PHP? Reasons to use PHP are given below: 1.    PHP is open source, free to download and use : PHP is free and you can download... is it supports a wide variety of database and it can be use with any database like: 
Hibernate Native vs Hibernate JPA
Hibernate Native vs Hibernate JPA  What is the difference between Hibernate Native vs Hibernate JPA?   Hibernate is ORM framework which you can use in your application. You can also use Hibernate as Persistence
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
ejbSelect() vs ejbHome() - EJB
ejbSelect vs ejbHome  Hi, 1) What are the differences between ejbSelect() and ejbHome...() business methods in CMP bean? 2) In Ed Romans Mastering EJB 3rd edition, it is mentioned that ejb finder methods
Derby vs MySQL - SQL
Derby vs MySQL  Hi, I want to know what are the advantages using Derby Database over MySQL.  http://www.roseindia.net/eclipse/plugins/database/index.shtml
inheritence Vs inheritence
inheritence Vs inheritence  what are difference b/w c++ inheritence and java inheritence   Hi Friend, C++ supports Multiple Inheritance while Java does not. Thanks
java vs vb
java vs vb  history of java and advanced products as well as vb? compared with java and vb? finalize list out the table of java and vb products? viewers i want more soon
 

 

 

DMCA.com