-->
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.  [ 9 posts ] 
Author Message
 Post subject: GUI for NHibernate
PostPosted: Fri May 13, 2005 4:06 pm 
Newbie

Joined: Fri May 13, 2005 3:54 pm
Posts: 6
Location: Istanbul / Turkey
Hey,
I have started to do a userinterface for Nhibernate in vs.net 2003
my goal is it will connect to db and it will create our persisted classes and mapping files.. with relations...

but I would like to do it with a team...

I dont know what u think about that ?

_________________
I am not a great programmer, i am a good programmer with great programming habits.


Top
 Profile  
 
 Post subject: Re: GUI for NHibernate
PostPosted: Sat May 14, 2005 1:08 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
UnquaLe wrote:
it will connect to db and it will create our persisted classes and mapping files.. with relations...


There are already some templates in MyGeneration and CodeSmith doing this job pretty well... (you can find the MyGeneration one in its web site, but I don't remember where I saw the CodeSmith template)

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 14, 2005 3:15 pm 
Newbie

Joined: Fri May 13, 2005 3:54 pm
Posts: 6
Location: Istanbul / Turkey
yeah I know them.
but there will be a toolbox in vs.net.
it wil generate ur *.hbm.xml files..
and when u change ur db schema.. it will detect that and *.hbm.xml files and classes will be effected..

my dream was that : )

_________________
I am not a great programmer, i am a good programmer with great programming habits.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 14, 2005 3:50 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
Nice dream :wink:

:idea: What you can do is a toolbox that detect changes in the DB schema and call console generator of MyGeneration/CodeSmith using their template :)
It will not require too much work...

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 16, 2005 5:28 pm 
There is also ObjectMapper.com. It isn't as customizable as the templates. Not sure there is much need for a automated generator, that can be scary for those working on a legacy DB that requires tweeks in the mapping files. I like OM's idea of creating a model that allows you to work on the tables without having to reload the schema until a change occurs. Unfortunately it is very slow on large DBs.


Top
  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 5:16 pm 
I have been looking for a generator. MyGeneration is cool, but I don't like the editor. I would rather work in vs.net. You might be able to access the myMeta classes directly in vs.net. To bad Nvelocity is not going so good. I was thinking a c#/nvelocity version of middlegen would be great.


Top
  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 8:21 am 
Beginner
Beginner

Joined: Mon Oct 03, 2005 4:59 am
Posts: 26
Location: Cambridge, UK
Agreed, I do wish the MyGeneration editor was not quite so awful, or that they would set it up so that templates could be edited in VS.net. Still, it's just a tool; the output is the important thing, and (after a not-unreasonable amount of tweaking) I'm pretty happy with the output.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 14, 2005 2:40 pm 
Regular
Regular

Joined: Mon May 16, 2005 2:15 pm
Posts: 59
gekannt wrote:
Agreed, I do wish the MyGeneration editor was not quite so awful, or that they would set it up so that templates could be edited in VS.net. Still, it's just a tool; the output is the important thing, and (after a not-unreasonable amount of tweaking) I'm pretty happy with the output.


Have you guys looked at code smith? What about just plain old XSLT?

BOb


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 14, 2005 2:55 pm 
Regular
Regular

Joined: Mon May 16, 2005 2:15 pm
Posts: 59
Codus also looks like a fairly mature project that generates O/R Mapping artifacts. It claims to support NHibernate.

http://www.adapdev.com/codus/


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