Regarding Hibernate

Regarding Hibernate

Both JDBC and Hibernate are used to connect to database then whats the need of going to hibernate? What are the main differences? And could you let me know please....

View Answers

February 29, 2012 at 1:47 PM

The hibernate is a ORM tool, it is for OOP developers. which has good knowledge of object orientated programming. like inheritance, polymorphism etc. where as jdbc, it is using for data base connectivity only. other deference is, you don't have to thing about sql query. you have to perform things over object. like fetch list of result, you don't have to write sql query, you have hql or similar kind of query language. It is wrapper over the jdbc, and provide some kind of default functionality like taking care of data base specific query change etc.









Related Tutorials/Questions & Answers:
Regarding Hibernate
Regarding Hibernate  Both JDBC and Hibernate are used to connect to database then whats the need of going to hibernate? What are the main differences? And could you let me know please
regarding rev
regarding rev  write a prog. in java that display all the arguments passed at the command line in reverse order
Advertisements
Regarding repository
Regarding repository  How to check in and check out using SVN repository using eclipse
Regarding Project
Regarding Project  sir, i am doing a project in java. my project is CITY GUIDE it is an web application. please give me documentation of my project
Regarding Project
Regarding Project  sir, i am doing a project in java. my project is CITY GUIDE it is an web application. please give me documentation of my project
Regarding javascript
Regarding javascript  Hi, I want 4 upload buttons in HTML CODE and Among 4 browse buttons user is not selected any one then provide a prompt message like plz select any 1 file among 4 buttons.If user is selected either 1st
Regarding Datasource
Regarding Datasource  Hi friend, Good morning,how r u,i want to share 1 information to u,I got a job in VERIZON DATA SERVICES INDIA PVT.LTD,u help a lot when i am in academic project,with that project only i got a job
regarding jtable...
regarding jtable...  sir, im working with jtables. i wanted to populate a jtable from the database and when i click any row it should add a container below that row itself and show the required details of the row
regarding project
regarding project  OBJECTIVES OF THIS PROJECT: -Ability to test the programmer for basic interaction skills to understand the client requirement. -Ability of the programmer to ask the right questions and get the relevant
regarding project
regarding project  OBJECTIVES OF THIS PROJECT: -Ability to test the programmer for basic interaction skills to understand the client requirement. -Ability of the programmer to ask the right questions and get
regarding project
regarding project   sir we need help about project. we have idea about his project please guide me sir. OBJECTIVES OF THIS PROJECT: -Ability to test the programmer for basic interaction skills to understand the client
Regarding Database Creation
Regarding Database Creation  How to use the hibernatetutorial database for running the first application. Is it enough to just create the database... appreciated.   Please visit the following links: Hibernate Tutorials
Query regarding JSP, JDBC
Query regarding JSP, JDBC  can I get the code for the question asked by me regarding JSP,JDBC
regarding jdbc - JDBC
regarding jdbc  how i can configure java with ms access
Regarding project - Applet
Regarding project  hi friend , iam doing project in Visual cryptography in Java so i need the Help regarding how to make a share of a original imahe into shares anu
Regarding weblogic portal
Regarding weblogic portal  Hi, My name is Ramanuja.i am working on weblogic portal.if u know any info regarding plz provide the materials or information to me.plz help me. Thanks in advance
Hibernate
Hibernate  Hi i have 2 doubbts regarding Hibernate ,.. 1)Can we rename hibernate.cfg.xml? 2? can we use multiple mapping resource in hibernate.cf.xml file ? pls let me know soon
regarding JTable - JDBC
regarding JTable  how to populate a JTable with mysql data after clicking JButton please explain with the example
regarding tags - Struts
regarding tags  What is the difference between html:submit and nested:submit and usage of tags based on the situation
regarding struts 2
regarding struts 2   is it not possible to get values from applicationresources.properties into our application in struts 2
Regarding GUI Applications
Regarding GUI Applications  How to create a save and open jmenu item in java desktop application
Regarding core java
Regarding core java  how do we find reverse of string with out using String functions
regarding j2me - Java Beginners
regarding j2me  sir but i have to use the drawString u tell me how can i display two too long strings
regarding mini project - JDBC
regarding mini project  i need to make a mini project using servlet and jdbc.pls help me with a real time application
regarding webservice - WebSevices
regarding webservice  hi, I want to implement Webservices, How i have to use? pls reply me.   Hi Mention your requirement properly.Exactly what you wanna do
Query regarding hashmap
Query regarding hashmap  I want to store some names and ids in hashmap in session, then retrieve it on next page and iterate through ids to run a query using ids one at a time
Regarding junit testcases
Regarding junit testcases  Can Any one help me ..How to write junit testcase for Email (plz dont give links ...i want code
Regarding Scroll Bar - CVS
Regarding Scroll Bar  HI all, i have a Text Message box which i have incorporated in my code which goes something like
regarding jdbc - JDBC
regarding jdbc  is there any way in jdbc to retieve data from a table and show it by using swing concept i mean to say data from the table can be shown in swing interface with tabular form
regarding java - JDBC
regarding java  i am making a project on supply chain system i have... will be directly saved in the database i have seen many examples regarding... give some give some examples regarding this please help me regarding
Regarding Documentation of Packages
Regarding Documentation of Packages  Hello How to get java packages ie documentation of classes ,Interfaces and methods from windows command prompt.In the sense Java.lang,java.awt,java.math etc
doubt regarding JSF
doubt regarding JSF  Hi, pls explain what is difference between struts &JSF? pls explain what is difference between SPRING &JSF
Regarding frames in HTML
Regarding frames in HTML  I have created a html page including two frames in it,one frame consists "search bar" and the other frame consists login... regarding this...thanks
hibernate - Hibernate
I am sending links to you where u can find the solution regarding your query: http://www.roseindia.net/hibernate/hibernate-aggregate-functions.shtml http://www.roseindia.net/hibernate/associations-and-joins.shtml Thanks
Regarding tiles - Struts
Regarding tiles  I am taken image from Database.So, i am already... the session, its also shown. And I am also created one tiles for calling that image in the JSP, and insert the tiles in the respective papes, In which I want
regarding web.xml - JSP-Servlet
regarding web.xml  I am the java beginner, please send the web.xml code and how to run a servlet for apache5.0.... my problem is in tomcat manager am getting the message 'fail' in web.xml  Hello,Please check the tomcat
Doubt Regarding Charts
Doubt Regarding Charts  Hi, Can you please help me out by answering "hoe to include charts in core java code and struts code" thanks in advance, Swaroop Eswara   Please visit the following link: Jfreechart
Regarding Regular Expressions
Regarding Regular Expressions  Hi I would like to supply my regular expression with a 'default' value, so if the thing I was looking for is not found, it will return the default value as i have mentioned in the Regular
want help regarding a project
want help regarding a project  hiii this is hemangi and I want guidance that I am working on a project of hospital management system so I want guidance that how can i implement that in swings or with other frame work? and any
query regarding multiple select
query regarding multiple select  i have a select in jsp with multiple options.When i select multiple values i am not able to insert it into database and how do i retrieve them..please help me with an example code
regarding J2ME - Java3D
regarding J2ME  I have a problem. I have to write a 200line text in J2ME,for that i am using drawString(),but de problem... use textarea control ,in j2me has various controls textfield,combobox..etc so   hi use
Regarding struts validation - Struts
Regarding struts validation  how to validate mobile number field should have 10 digits and should be start with 9 in struts validation?  Hi friend
regarding socket - Development process
regarding socket  sir I have a project of socket. which takes input from user(client) and checks in database(server) and sends the responses to client but I am facing problem this connection maintains for only single thread
regarding JSP - JSP-Servlet
regarding JSP  Hi, This is Malleswari from Satyam. I'm facing a problem while running the JSP tags...like if i want to write or any other, the tag is not supported in my page. In prefix i mentioned "c". still i didnt get
Regarding tiles and struts - Struts
Regarding tiles and struts  Hi, i have a struts application which uses tiles my problem is when i am redirecting/forwarding from a jsp page(which is a tiles page) i am not able to redirect properly it was showing response 
regarding header files - Spring
regarding header files  i am working on linux platform. i a using spring framework 2.5.4.while comlinig the client program i.e from demo which given in tutorial. error is these two package does not exist import
Regarding Documentation of API
Regarding Documentation of API  Hello How to get java documentation of classes ,Interfaces and methods from windows command prompt.In the sense Java.lang,java.awt,java.math,java.io etc. Kindly tell the solution. View Answers
Regarding Documentation of API
Regarding Documentation of API  Hello How to get java documentation of classes ,Interfaces and methods from windows command prompt.In the sense Java.lang,java.awt,java.math,java.io etc. Kindly tell the solution. How to type
Regarding JSP code
Regarding JSP code   hello sir tell me the way to navigate different type of user like manager and client from same login page to different interfaces in JSP code I am using Oracle 10g database .Exactly problem with me is that i
Regarding 2 windows
Regarding 2 windows  Hi, I want 2 separate windows,when i click on a 1st window submit btn then it will show 2nd window. In 2nd window i want 1 textbox.i entered some text on that text box and when i close the 2nd window

Ads