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

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 3 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
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
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
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
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
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
What are the advantages of using Stored Procedures?
What are the advantages of using Stored Procedures?  What are the advantages of using Stored Procedures
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 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
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
Case-insensitive ordering using Hibernate Criteria.
Case-insensitive ordering using Hibernate Criteria.  What is Case-insensitive ordering in Hibernate Criteria
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;   
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
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
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
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
Login form using Jsp in hibernate - Hibernate
Login form using Jsp in hibernate   Hai Friend, As I new To hibernate, I'm facing problem in My project(JSP with hibernate).. My login form...://www.roseindia.net/struts/hibernate-spring/index.shtml http://www.roseindia.net
fetching data using servlets - SQL
fetching data using servlets  I have successfully made connection with the oracle10g database that i am using and also able to put in data using JSP... for fetching data from a ORACLE10g database using SERVLETS.   Hi Friend
Pagination in jsp using oracle and not sql
Pagination in jsp using oracle and not sql  I need the code for pagination in jsp using oracle. I already tried it with rownum between instead... Pagination using Mysql database <%@ page language="java" %> <%@ page
Create primary key using hibernate
Create primary key using hibernate  How to create primary key using hibernate?   The id element describes the primary key for the persistent class and how the key value is generated.   <id name="id
What is hibernate ?
What is hibernate ?   What is hibernate ? explain with simple example.   Hibernate is an Open Source persistence technology. It provides... problems. Hibernate works as a bridge between application and database
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
How to create primary key using hibernate?
How to create primary key using hibernate?  Hi, How to create primary key using hibernate? Thanks
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
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
Hibernate criteria example using struts2
Hibernate criteria example using struts2 This hibernate criteria example using struts2 is used for defining the basics of criteria. The hibernate criteria... create query without HQL. In this hibernate criteria example using struts2, we
how to connect SQL Server 2005 using php
how to connect SQL Server 2005 using php  i need to connect SQL Server 2005 using php. how can i connect . how to use mssql_connect function
Sql Examples using php code
Here is the many examples. In this tutorial we discuss many examples of sql statements using php code
SQL Server row comparison using two tables
SQL Server row comparison using two tables  insertion process are completed in table1.string comparison using table2 to table1 if any changes in these tables and then upadated
Storing Multiple image in sql using java
Storing Multiple image in sql using java  Hi, How to store and retrieve a multiple image in sql using java but already i have created sql table if i want to insert a image while runtime execution. Can anyone tell me solution
Hibernate:What is hibernate?
Hibernate:What is hibernate?  What is hibernate?   Hibernate: -Hibernate is an Open Source persistence technology. It provides Object.... Hibernate works as a bridge between application and database. Application
Hibernate Simple Program Using Java Application with Eclipse
Hibernate Simple Program Using Java Application with Eclipse  How to write Hibernate Simple Program Using Java Application with Eclipse? I wish to learn Hibernate using very popular Eclipse IDE. Share me the best tutorial link
How to save database data into excelsheet using hibernate
How to save database data into excelsheet using hibernate  How to save database data into excelsheet using hibernate
 

 

 

DMCA.com