-->
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: Generating poersistence.xml
PostPosted: Thu Feb 08, 2007 8:03 am 
Newbie

Joined: Mon Feb 05, 2007 11:49 am
Posts: 13
Hello.

I'm using hibernate tools to reverse engineer a database do EJB 3.0 compliant POJOs. After the generation of the POJO's, I world like to generate a persistence.xml file containig the <class> entries for each of the generated POJOs.

Can hibernate tools acomplish this?

Thanks in advance,

Hugo Oliveira
hugom.oliveira.ext@siemens.com


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 09, 2007 9:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes it can accomplish it, but it is not implemented in generally (yet)

seam-gen has it so you could use that as an inspiration and contribute a patch ;)

_________________
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.