Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials


 

 

Struts Tutorials

Struts Resources

Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Hibernate Hibernate Aggregate Functions

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

5 comments so far (post your own) View All Comments Latest 10 Comments:

Hi thanks for the article. it helpmed me solving a way to get a hibernate object from a native query

Example
String sql = "select * from o3dphysclf regel left join o1dphysclf as ord on regel.o3ord=Ord.o1ord where o3ord=90280";

Query qry1 = HibernateUtil.getSession().createSQLQuery(sql)
.addEntity(OrderRegel.class);
List<OrderRegel> results1 = qry1.list();
System.out.println("size="+results1.size());
System.out.println("1e rec "+results1.get(0).getArtikelkode());

Posted by delanger on Wednesday, 05.19.10 @ 14:12pm | #97103

here we can provide the class and properties for Product.java and Dealer.java. which will be helpful and same time more understandable

Posted by t santosh kumar on Tuesday, 04.27.10 @ 00:38am | #96641

Hi All,
I would like to know the usage of <bag> tag in hibernate and its complete usage.
can someone help me with an example, the above example is not clear to me.

thanx in advance.

regards,
sampath

Posted by sampath on Wednesday, 03.4.09 @ 04:42am | #85476

String sql_query = "select
d.name,p.name,sum(p.price) as
totalprice from Product
p join p.dealer d group by p.name";

Anybody knows how iterate this query in struts?

Please Help.

Posted by bigollo on Saturday, 03.29.08 @ 07:44am | #54637

Hi All,
I would like to know the usage of <bag> tag in hibernate and its complete usage.
can someone help me with an example, the above example is not clear to me.

thanx in advance.

regards,
sudheer.

Posted by sudheer on Friday, 01.4.08 @ 15:44pm | #44503

Ask programming questions?

 

 

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name

 

 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2007. All rights reserved.