-->
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: a question from generate table struct by my tool
PostPosted: Mon Apr 03, 2006 11:13 pm 
Newbie

Joined: Mon Apr 03, 2006 10:47 pm
Posts: 4
I try to write a tool to generate entity code and *.hbm.xml file. All has finish except one thing generate struct to database server.

I thank two method can work

1.build entity project,copy dll to tool work path,addXmlFile(*.hbm.xml) or addClass(Type)

2.use AppDomain,build entity in memory,add generator code of tool to AppDomain,addXmlFile(hbm.xml) ...

The 1 can't control project return error message,and copy other dll file in work path is bad idea. 2 is a large subject to me at this time. Has the three method?

thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 05, 2006 1:26 am 
Newbie

Joined: Mon Apr 03, 2006 10:47 pm
Posts: 4
I has finish the second method. But i hope has third method.


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.