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



Home Answers Viewqa Hibernate What is the main advantage of using the hibernate than using the SQL
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
What is the main advantage of using the hibernate than using the SQL
1 Answer(s)      a year and 8 months ago
Posted in : Hibernate


Hi,

What is the main advantage of using the hibernate than using the SQL.

thanks,


Advertisement
View Answers

May 2, 2013 at 12:30 PM


Hi,

In case you using Hibernate the you neednot require the SQL beacause the Hibernate Query Language (HQL) is much like SQL and are case-insensitive, except for the names of the Java Classes and properties. Hibernate automatically generates the sql query and execute it against underlying database if HQL is used in the application. HQL is based on the relational object models and makes the SQL object oriented. Hibernate Query Language uses Classes and properties instead of tables and columns. In SQL we need join statement to merge the table where as the HQL neednot require because in hibernate we utilizing hbm.xml file.

For more details the main advantage of using the hibernate than using the SQL. Visit this link : http://www.roseindia.net/hibernate/hibernatequerylanguagehql.shtml

Thanks,



Related Tutorials/Questions & Answers:
What is the main advantage of using the hibernate than using the SQL
What is the main advantage of using the hibernate than using the SQL  Hi, What is the main advantage of using the hibernate than using the SQL. thanks
What is the advantage of hibernate over JDBC?
What is the advantage of hibernate over JDBC?  HI, What is the advantage of hibernate over JDBC? thanks
Advertisements
What is the advantage of hibernate over JDBC?
What is the advantage of hibernate over JDBC?  HI, What is the advantage of hibernate over JDBC? thanks
What are the ways to access Hibernate using Spring
What are the ways to access Hibernate using Spring  Hello, What are the ways to access Hibernate using Spring Thanks
Hibernate Named Native SQL Query using XML Mapping
In this section, you will learn Named Native SQL Query using XML Mapping in Hibernate with an example
About hibernate using struts
About hibernate using struts  what are the advantages are occured when using struts in hibernate? what are the inconvenient occur in hibernate using struts in hibernate? how they are overcome? if any another solutions
Using of Hibernate - Hibernate
Using of Hibernate  I have a requirement that my table names are dynamic. For example suppose we have two different court using this system then we... friend,read for more information.http://www.roseindia.net/hibernate
insert image using hibernate
insert image using hibernate  Sir, Today I hadposted question regarding upload image, th answer you had given is using SQL, but I am using Hibernate to insert data in the same table where I want to insert image. Plz hlp me
Using sum() in hibernate criteria.
Using sum() in hibernate criteria.  How to calculate sum() in hibernate criteria by using projection?   You can calculate sum of any numeric value in hibernate criteria by using projection. Projection is an interface
jdbc vs hibernate
In this section, you will learn why hibernate is better option than using JDBC
output using SQL
output using SQL  how to get ( 15 march 2011) and (15/03/2011) output using SQL   Use the following queries to get the data from database in the given format. For (15 march 2011) format: SELECT DATE_FORMAT(dob, '%d
using trigger - SQL
using trigger  sir i want to use this trigger in ado.net. how...://www.roseindia.net/mysql/mysql5/triggers.shtml http://www.roseindia.net/sql/create-update-trigger.shtml http://www.roseindia.net/sql/trigger/mysql-trigger-after
Simple application using hibernate
Simple application using hibernate  Hi, How to write a simple application using hibernate in Eclipse IDE? I would like to to learn: Process of downloading the Hibernate Process of Downloading Eclipse Installing Eclipse Create
select query using hibernate
select query using hibernate  Hi, can any one tell me to select records from table using hibernate. Thanks   Please visit the following link: Hibernate Tutorials The above link will provide you different
What is the main feature of Hibernate3?
What is the main feature of Hibernate3?  What is the main feature of Hibernate3?   Hibernate 3.0, the latest Open Source persistence technology. Features of Hibernate Hibernate 3.0 provides three full-featured query
Hibernate criteria query using Max()
Hibernate criteria query using Max()  What is Hibernate criteria query using Max()?   You can find out maximum value in hibernate criteria by using projection. Projection is an interface and a class
how to write greater than symbol in a file using java
how to write greater than symbol in a file using java  Hello I want to write < and > symbol in a file but its coming like > and < Please... the greater than and less than symbol is coming as & gt and & lt
Isolation level using hibernate in DB2/As400 - Hibernate
Isolation level using hibernate in DB2/As400  I want to use isolation level 2 or higher using hibernate in DB2/AS400. I can't use journaling. If I.... If I use isolation level higher than that then database update is not taking
forums creation using spring with hibernate?
forums creation using spring with hibernate?  how to write mandatory fields with validations in forms using spring with hibernate? give me detailed example
What are the advantages of using Stored Procedures?
What are the advantages of using Stored Procedures?  What are the advantages of using Stored Procedures
Insert Data into Database Using Hibernate Native SQL
Insert Data into Database Using Hibernate Native SQL... how you can use Native SQL with hibernate. You will learn how to use Native... SQL like syntax and includes full support for polymorphic queries. Hibernate
Hibernate criteria query using Min().
Hibernate criteria query using Min().  How to find minimum value in Hibernate criteria query using Projection?   You can find out minimum value in hibernate criteria by using projection. Projection is an interface
Hibernate criteria query using avg()
Hibernate criteria query using avg()  How to calculate average in Hibernate criteria query using Projection?   You can calculate average of any numeric values in hibernate criteria by using projection. Projection
merge tables in sql using union
merge tables in sql using union  How to create a new table in database by merging two tables using union function in SQL?   REATE TABLE new_table SELECT * FROM table1 UNION SELECT * FROM table2;   
Case-insensitive ordering using Hibernate Criteria.
Case-insensitive ordering using Hibernate Criteria.  What is Case-insensitive ordering in Hibernate Criteria
what is the mysql in the database using php
what is the mysql in the database using php  what is the mysql in the database using php  Please visit the following link: PHP Database
what is the mysql in the database using php
what is the mysql in the database using php  what is the mysql in the database using php  Please visit the following link: PHP Database
JSP using java - Hibernate
JSP using java  This is my part of Excal sheet code using jdbc connection. int index=1; while(rs.next... using hibernate.I am having function called displayIps() and displayvalues
What is the arguement of main method?
What is the arguement of main method?  hi, What is the arguement of main method? thanks,   Hi, For main() method accepts only an array of String object as arguement. For moe details on http://www.roseindia.net/java
upload image using JSP Hibernate
upload image using JSP Hibernate  sir, I want to take image from user and save to database(MYSQL) using Hibernate and JSP Thanks in advance
Update value of database using hibernate.
Update value of database using hibernate.  How to update value of database using hibernate?   Hibernate provides facility to update... org.hibernate.Transaction; public class HibernateUpdate{ public static void main(String
Advertisements
 

 

 

DMCA.com