Hehe, Nic, while I get around to that, did you see this two part tutorial on NHibernate written by Justin Gehtland (Part 1, part 2)? It also has a few xml-mapping examples.
Another thing is just noticed is that the ObjectMapper is now open source according to an email I received by Mats Hellander and Roger Johansson a few days ago. It’s not available for download separately, but included in a package of all the applications that they offer. Now who raised his hand, when I asked for someone to continue it’s development?
When starting to investigate nHibernate a friend of mine and I wrote our own generator (it’s quite basic, doesn’t use templates for generating the class files for example). It does generate the XML, stubs the solution, basic classes and the .config entries. If I have some time over Christmas I might tidy it up and put it up to download.
Following on from this, I’ve always found this site: http://www.xylax.net/hibernate/ quite useful for getting the mappings correct. Usually I find my main mistake is not putting in a full namespace or something silly rather than the actually mappings.
Hibernate In Action is a useful resource as well (it doesn’t explicitly cover the latest version of Hibernate which is good because nHibernate is a version behind so most of it relates).
10 December, 2005 at 11:55 pm
Thanks David – Much appreciated! Now, to work out how all the relationships look in XML
Cheers – Nic
11 December, 2005 at 7:53 am
Hehe, Nic, while I get around to that, did you see this two part tutorial on NHibernate written by Justin Gehtland (Part 1, part 2)? It also has a few xml-mapping examples.
Another thing is just noticed is that the ObjectMapper is now open source according to an email I received by Mats Hellander and Roger Johansson a few days ago. It’s not available for download separately, but included in a package of all the applications that they offer. Now who raised his hand, when I asked for someone to continue it’s development?
14 December, 2005 at 11:57 pm
When starting to investigate nHibernate a friend of mine and I wrote our own generator (it’s quite basic, doesn’t use templates for generating the class files for example). It does generate the XML, stubs the solution, basic classes and the .config entries. If I have some time over Christmas I might tidy it up and put it up to download.
Following on from this, I’ve always found this site: http://www.xylax.net/hibernate/ quite useful for getting the mappings correct. Usually I find my main mistake is not putting in a full namespace or something silly rather than the actually mappings.
Hibernate In Action is a useful resource as well (it doesn’t explicitly cover the latest version of Hibernate which is good because nHibernate is a version behind so most of it relates).
– JD
15 December, 2005 at 3:08 am
Thanks for the comment, JD, I did’nt know the xylax site. It looks good, and perhaps it’s what you were asking for Nic!
27 August, 2006 at 7:35 am
[...] I was reading about nHibernate generation over on David’s blog and added a comment which I thought could be posted here as well. [...]
19 January, 2007 at 12:14 am
Online Casinos
furtiveness reposition congressmen bivouacs Cramer abaft expiring boar symbolizes Online Casino http://www.1onlinecasino.org/#