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: Automatic class and xml generator
PostPosted: Tue Feb 12, 2008 12:28 pm 
Newbie

Joined: Tue Feb 12, 2008 12:15 pm
Posts: 2
Location: Tempe,Arizona
Hi

Has anybody successfully used generated classes and xmls for automatically NHibernate ? Did anybody try using the java xmls and classes generated from eclipse IDE( I realise some things have to be corrected for sure) for c# application.

Please let me know.

thanks
kiran


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 12, 2008 2:10 pm 
Beginner
Beginner

Joined: Sun Nov 18, 2007 10:39 am
Posts: 46
Location: Liverpool, England
I've written some codesmith templates. I was initially using the database schema to guide the generation, along with metadata on the columns/tables/etc in the form off extended properties (back end is MSSQL) but soon came to the the conclusion this was a dead end. I now use a combination of an XML control file and the database schema. The XML file controls how I generate a given table, and also allows me to override the default behaviour where desired. Next thing I'm looking to do is to add support for specifying where a component should be used.

Kev


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.