-->
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: Programatically access to <meta> data
PostPosted: Tue Nov 04, 2008 9:21 am 
Newbie

Joined: Tue Nov 04, 2008 9:07 am
Posts: 2
Hello:

I'm trying to use the <meta> tag of the .hbm.xml data dinamically on my program. I can get to the Metadata using

getSessionFactory().getAllClassMetadata();

but I don't see nothing in there to access that meta-metadata. Is there a way to do that?

Basically I want to use the <meta> information to provide extra information about the class, similar to what I would use as a annotation.

Actually, if there is a way of producing a annotation in the resulting class, that would do the trick as well.

Thanks all for your help.

Cheers.


Top
 Profile  
 
 Post subject: Re: Programatically access to <meta> data
PostPosted: Thu Jul 16, 2015 11:21 am 
Newbie

Joined: Tue Jul 07, 2015 8:24 am
Posts: 2
Hi,

I facing same issue. My hbm.xml file haveing <meta> in class level and property level.
And i want to convert all hbm to annotations.

But i am not able to found any alternative annotation for <meta> tag.

If you found any solutions please refer me.

Thanks.


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.