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

Ads
 

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,

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,

Ads









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
What is the use of Hibernate Native SQL?
What is the use of Hibernate Native SQL?  What is the use of Hibernate Native SQL? How it is useful in database access programming using the Hibernate framework? Thanks   Hibernate Native query is used used to run SQL
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
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
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
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
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
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
How to delete objects using Hibernate?
How to delete objects using Hibernate?  Hi, How to delete objects using Hibernate? I want to delete an object (record) in table. Thanks   ... function will look for primary key from the object and then run the SQL query using
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
Case-insensitive ordering using Hibernate Criteria.
Case-insensitive ordering using Hibernate Criteria.  What is Case-insensitive ordering in Hibernate Criteria
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
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
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
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;   
What are the benefits of using Frameworks in PHP
What are the benefits of using Frameworks in PHP  I am into PHP development since 1 year and have been using the procedural approach for developing... and CakePHP? What are their benefits? Please let me know. Your help is much
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
Hibernate: ORDER BY using Criteria API.
Hibernate: ORDER BY using Criteria API.  How to display record in order using Criteria API?   Hibernate Criteria API provides an easy way of building dynamic query on the persistence database. The hibernate criteria
how to creating hbm files in hibernate using Myeclipse
how to creating hbm files in hibernate using Myeclipse  how to creating hbm files in hibernate using Myeclipse
How to create primary key using hibernate?
How to create primary key using hibernate?  Hi, How to create primary key using hibernate? Thanks
connect sql server 2005 using php
connect sql server 2005 using php  how to connect sql server 2005 using php program. how mssql_connect will work
Online exam using c# and SQL server
Online exam using c# and SQL server  hello, i'm making the (window based)online examination system using C#.net and SQL SERVER. my database is stored... server didn't start the same exam. so to do that what should I do? plz help
Case-insensitive search using Hibernate Query Language(HQL).
Case-insensitive search using Hibernate Query Language(HQL).  What is Case-insensitive search using Hibernate Query Language

Ads