-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: how to include all class properties in a report query
PostPosted: Mon Jun 20, 2005 4:31 pm 
Beginner
Beginner

Joined: Tue Apr 12, 2005 9:15 pm
Posts: 24
I want to create a report query, but I need to get properties defined for the class I am quering. Is there a method I can call that call create a select statement that would give me the select done for all class properties - e.g select A.prop1, A.prop2, A.prop3, A.pro4 from A ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 20, 2005 5:10 pm 
Regular
Regular

Joined: Thu Jul 08, 2004 1:21 pm
Posts: 68
Location: Recife - Pernambuco - Brazil
I think that you could do it using a interceptor. You can find examples at wiki and docs:
http://www.hibernate.org/hib_docs/v3/re ... vents.html
http://www.hibernate.org/195.html
http://www.hibernate.org/164.html

valeuz...

_________________
Marcos Silva Pereira
http://blastemica.blogspot.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.