Home Answers Viewqa Hibernate why to use hibernet vs jdbc

 
 


anjali pathuri
why to use hibernet vs jdbc
1 Answer(s)      2 years and 5 months ago
Posted in : Hibernate

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 Pages:
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
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
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
JDBC
JDBC  why we use batch in 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
websphere vs weblogic
websphere vs weblogic  websphere vs weblogic Why you are using websphere instead of weblogic
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
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
compiler vs interpreter
compiler vs interpreter  "compiled program executes faster especially if the program contains loop" Why
ejb vs hibernate - EJB
ejb vs hibernate  1>>> If we have ejb entity bean why we need hibernate? 2>>> Is hibernate distributed
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 spring?
Why spring?  Why do we need to learn Spring? and where can we use it thanks
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
'String' vs 'StringBuffer' - Java Beginners
'String' vs 'StringBuffer'  What should i use String or StringBuffer?  Hi, First you need to rectify the question. Because StringBuffers... a new object is created for each concat operation. So it is better to use
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
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 request.getParameter(
="POST"> why it happen? Anybody plz help me.. i want use it my project...plz...Why request.getParameter(  Hi all, I want to to do upload file in my folder and that time i want to store date in my MySQL Database. Here
Flex SDK vs Flash Builder
Flex SDK vs Flash Builder  Hi... What is the difference Flex SDK and Flash builder? please tell me about that.... Thanks   Ans: Flex... or use a student license from adobe flash plattform
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
Manual Vs Automated web submission
Manual Vs Automated web submission In this section we will see the benefits... or use the automated web submission software. Now a days search engines prefer... submission id detected If you use the automated submission tool
Why Dose Hibernate Run Very Slow?
Why Dose Hibernate Run Very Slow?  I use Hibernate in netbean 6.9.1... Why dose Hibernate build very slow?   I use Hibernate in netbean 6.9.1...: org.hibernate.dialect.MySQLDialect com.mysql.jdbc.Driver jdbc:mysql
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
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
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
Servlets Vs Jsp - JSP-Servlet
Servlets Vs Jsp  In servlets and Jsp's which one is important... as business logic)it is better to use Servelts(Re usability is possible with servlets but not with jsp's)Most of cases we use jsp's for presentation.i.e
Encapsulation VS Abstraction - Java Beginners
Encapsulation VS Abstraction  Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public... variable,method or class to be accessible outside the class,use private modifier
jdbc - JDBC
Why JDBC   JDBC used for what
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
jdbc  why do we need to load jdbc drivers before connecting to database
Server side validation vs client side validation
Server side validation vs client side validation  Can any one tell me... of Server side validation vs client side validation.   The client side... that one should use both types of validation
question about t vs h tag - Framework
question about t vs h tag  Hi, I use JSF with t,f,h tags in my webapp and i have a question. I use 2 differents pages .jsf The first page contain only tomahawk tags like : ....other tag tomahawks with call method X
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 "<![CDATA[ ]]>" CDATA tag.
Why tag.  . Why do we use this tag and what is the name of this tag
Hibernate vs JDBC
This section is better understanding of how hibernate is differ from JDBC
jdbc
jdbc  is it possible to use doget & dopost method with jdbc to call in a servlet programe
Which gives better performace Stack vs Arraylist
Which gives better performace Stack vs Arraylist  I want to implemet a generic Stack implementation. I am confused whether to use java.util.Stack class or to simulate ArrayList as Stack? I am very much concerned about performance
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 Abstract Class?
Why Abstract Class?  What is the use of Abstract Class if it has Zero Abstract methods
Why Abstract Class?
Why Abstract Class?  What is the use of Abstract Class if it has Zero Abstract methods
why php and mysql - PHP
why php and mysql  I noticed in most of the application that developer always use mysql with PHP. Why they do so,, as there are money other database are too available
why crieterias are importent in hibernate?
why crieterias are importent in hibernate?  why crieterias are importent in hibernate?   HiberanteTemplate is a class proposed by spring softies, here everything will be ready made to use. that is capsulized
jdbc
how can we set transaction level through jdbc api  how can we set transaction level through jdbc api   Use Connection.setTransactionIsolation(int) to set the desired tansaction level, which takes one of the 5 arguments
jdbc
how can we set transaction level through jdbc api  how can we set transaction level through jdbc api   Use..._SERIALIZABLE TRANSACTION_READ_UNCOMMITTED TRANSACTION_REPEATABLE_READ   Use

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.