-->
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.  [ 6 posts ] 
Author Message
 Post subject: how to generate schema in hibernate3's xml mapping
PostPosted: Thu Apr 21, 2005 2:31 am 
Newbie

Joined: Fri Oct 17, 2003 10:56 pm
Posts: 11
I use getSession(EntityMode.DOM4J) to retrieve my Entity,
I'm puzzling at whether hibernate3 provide a way to auto generate the Entity's schema 。


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 2:36 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
no at the moment, but would be a nice addition to the toolset....add a jira request for it in HBX

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 5:55 am 
Newbie

Joined: Fri Oct 17, 2003 10:56 pm
Posts: 11
thanks max

I still puzzling is there a tool for converting POJOEntity <--> DOM4JEntity :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 6:00 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
what do you mean ? thats what hibernate does at the moment.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 8:34 pm 
Newbie

Joined: Fri Oct 17, 2003 10:56 pm
Posts: 11
now hibernate provide a way to retrieve Entity as a DOM4J Document by
session.query("..") directly, I mean that is there a way to convert POJO to a DOM4J Document and DOM4J Document to a POJO by myself?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 22, 2005 12:06 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Not currently, but there is a TODO to add a transform method which will do just that.


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