Home Tutorialhelp Allcomments Hibernate Hibernateorderbyexample

 
 

Comments

 
User Comments for the tutorial:

HQL Order By Example



Total comments: 7      View Tutorial    Discuss: HQL Order By Example
Advertisement
Comments

for (Iterator it = query.iterate(); it.hasNext();)
for (Iterator it = query.iterate(); it.hasNext();) { Insurance insurance = (Insurance) it.next(); System.out.println("ID: " + insurance.getLngInsuranceId()); System.out.println("Name: " + insurance.getInsuranceName());  

Hi plz give some examples on may-to-many,many-to-
Hi plz give some examples on may-to-many,many-to-one association. 

error
hi, I have solved the previous error but know it will show an other error like Hibernate 2.1.7 - hibernate.properties not found - using CGLIB reflection optimizer - using JDK 1.4 java.sql.Timestamp handling - configuring from resource:  

hi
i want step by step creation of struts with hibernate example program 

it is possible...
just make an alias on class B and then, use this alias to order on one property of B. quite simple in fact... Antoine www.sysemo.com  

possible to order on property of a many-to-one ?
is it possible to order on a property of an entity that is related to the main entity with a many-to-one property ? Class A have a Class B property Class B have a name or category property is it possible to order by the name or the category ?  

INSTANCEOF
There is no return) if you mean what classes do those objects belong to? then the answer - INSTANCEOF knows Power 

Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com