-->
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.  [ 7 posts ] 
Author Message
 Post subject: Class generator for NHibernate
PostPosted: Wed Apr 26, 2006 5:40 am 
Beginner
Beginner

Joined: Wed Apr 26, 2006 4:12 am
Posts: 29
Can anyone tell me how I can download and install the class generator for NHibernate, to generate classes from the .hbm.xml files?


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 01, 2006 12:20 pm 
Newbie

Joined: Sun Aug 28, 2005 10:54 pm
Posts: 14
hbm2net is in the nHibernate.Contrib package.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 01, 2006 1:43 pm 
Senior
Senior

Joined: Fri Jan 13, 2006 2:50 pm
Posts: 123
Location: Blumenau / SC / Brasil
Just to keep a note, I use the MyGeneration software to generate the HBM e Class files.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 9:19 am 
Newbie

Joined: Thu Nov 16, 2006 1:39 am
Posts: 13
How do you handle many-to-many relations with MyGeneration ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 11:05 am 
Senior
Senior

Joined: Fri Jan 13, 2006 2:50 pm
Posts: 123
Location: Blumenau / SC / Brasil
gentyjp wrote:
How do you handle many-to-many relations with MyGeneration ?


Can't you imagine? :) Hehe.

I write my many-to-many relations "by hand" (I thing this is the way to say "manually").

Bye.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 11:25 am 
Newbie

Joined: Thu Nov 16, 2006 1:39 am
Posts: 13
Too bad

I do something no so nice also ..

As I also work in Java, I have my own hbm files.

I have a little parser that modify my hbm files to have a NHibernate file (not to much work)

I use hbm2net to have my classes ...

Pretty ugly, no ??


Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 6:58 pm 
Senior
Senior

Joined: Fri Jan 13, 2006 2:50 pm
Posts: 123
Location: Blumenau / SC / Brasil
gentyjp wrote:
Too bad

I do something no so nice also ..

As I also work in Java, I have my own hbm files.

I have a little parser that modify my hbm files to have a NHibernate file (not to much work)

I use hbm2net to have my classes ...

Pretty ugly, no ??


Cheers


Yeah. It's suck. I've used the MyGeneration to generate a basic mapping for my 300 tables and after this I changed the relation by hand.

It's not the best way, i think, but it works :)

Bye.


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