-->
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.  [ 3 posts ] 
Author Message
 Post subject: Property name(s) within component
PostPosted: Wed Aug 04, 2004 1:31 pm 
Beginner
Beginner

Joined: Tue Mar 23, 2004 8:40 pm
Posts: 22
Folks,

I checked the class Property, Type and Value, I haven't been able to find any method for the captioned, any ideas?

Thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 1:41 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
I have no idea what you are talking about.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 1:49 pm 
Beginner
Beginner

Joined: Tue Mar 23, 2004 8:40 pm
Posts: 22
<!--
HBM file
-->

Code:
<component name="auditInfo" class="AuditInformation">
  <property name="creation" column="CreateDate" type="timestamp"/>
  <property name="lastEdited" column="LastEditDate" type="timestamp"/>
  <property name="createdByObjId" column="CreateBy_PersonObjId" type="string"/>
  <property name="editedByObjId" column="LastEditBy_PersonObjId" type="string"/>
</component>


I would like to get back the property names (e.g. "creation", "lastEdited", ...) from component "auditInfo" during run time. I could get back Property, Value and Type via configuration.getClassMapping, however, I haven't been able to find any method to get back the property name(s) of component.

Thanks for your reply


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.