why to use hibernet vs jdbc

why to use hibernet vs jdbc

plz send me the reply

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... 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
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
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...diff detween jdbc and hibernet  plz give me the reply   Hi
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
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
jdbc vs hibernate
In this section, you will learn why hibernate is better option than using JDBC
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
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? ADS_TO_REPLACE_1 JDBC
websphere vs weblogic
websphere vs weblogic  websphere vs weblogic Why you are using websphere instead of weblogic
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 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]
JDBC
JDBC  why we use batch in jdbc
Hibernate vs JDBC
This section is better understanding of how hibernate is differ from JDBC
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
compiler vs interpreter
compiler vs interpreter  "compiled program executes faster especially if the program contains loop" Why
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
ejb vs hibernate - EJB
ejb vs hibernate  1>>> If we have ejb entity bean why we need hibernate? 2>>> Is hibernate distributed
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
getResourceAsStream() vs FileInputStream
getResourceAsStream() vs FileInputStream  getResourceAsStream() vs FileInputStream
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 to use Spring Framework?
Why to use Spring Framework in a web application? In this article I... depend on the Spring libraries. ADS4ThUnitADS Why to use the Spring Framework?ADS_TO_REPLACE_2 Here is points that describes why to use the Spring Framework
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
jdbc - JDBC
Why JDBC   JDBC used for what
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
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
What is Angular and Why Use It?
AngularJS Tutorials: What is Angular and Why Use It? AngularJS is a widely popular JavaScript framework which is used for building wide variety of web apps, single page apps (SPA) mobile apps. As a JavaScript framework it has been
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
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 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
Why spring?
Why spring?  Why do we need to learn Spring? and where can we use it thanks
Why Use Docker for Development?
Docker for Development - Why Use Docker for Development? Traditionally we use... of problems while working on a laptop. But the use of Docker can easily avoid those. There are many reasons that a developer use Docker for development. Some
Scanner vs. BufferedReader
Scanner vs. BufferedReader  I have to decide from these two classes to read a file. File is of .txt type and its size is around 4.5 GB. There other... should use the BufferedReader class. Check the details at What is the fastest
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
named parameters vs postional parameters - Hibernate
named parameters vs postional parameters  hi,Can you please explain why we i should go for particular parameters or positional parameter... regards, somasekhar
data wrangling vs data cleaning
data wrangling vs data cleaning  Hi, I am beginner in Data Science... wrangling vs data cleaning Try to provide me good examples or tutorials links so that I can learn the topic "data wrangling vs data cleaning". Also
data wrangling vs data mining
data wrangling vs data mining  Hi, I am beginner in Data Science... wrangling vs data mining Try to provide me good examples or tutorials links so that I can learn the topic "data wrangling vs data mining". Also tell me
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
jdbc
jdbc  why do we need to load jdbc drivers before connecting to database
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

Ads