-->
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: internal model persisted
PostPosted: Mon Jan 09, 2006 7:37 pm 
Newbie

Joined: Mon Jan 09, 2006 7:27 pm
Posts: 1
one of the faqs is

Where can I see the hbm.xml files generated from the Annotations?

and this is the reply

You can't. The annotations are building the internal Hibernate metadata model without any indermediate xml file.

Can we access this model programmatically (is it publicly available) and is there any program that can persist the same to xml (eventhough no xml version is generated in between)?

Evenwhen I am not using annotations I would like to know all the defaults that hibernate has assumed.

thanks,
Nishant


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 10, 2006 3:15 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
the tools.hibernate.org can dump annotation to hbm.xml (but it does not dump out *all* conceivable models yet..contributions welcome)

And the metadata is available in the Configuration/AnnotationConfiguration object.

_________________
Max
Don't forget to rate


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.