-->
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.  [ 1 post ] 
Author Message
 Post subject: Still having problems with xmlns and hbm2net
PostPosted: Fri Nov 25, 2005 8:26 pm 
Newbie

Joined: Fri Nov 25, 2005 8:21 pm
Posts: 1
Hi,

I am having problems with hbm2net and the BasicRenderer. When I have a namespace directive in my hbm file then no classes will be generated by hbm2net:

<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
...

When I remove the xmlns directive it works fine. I am using NHibernate-Contrib 1.0.1. I read that it was okay with version 0.7 and broke with 0.8. Am I doing something wrong? Here's my hbm2net config:

<?xml version="1.0" ?>
<codegen>
<generate renderer="NHibernate.Tool.hbm2net.BasicRenderer">
</generate>
</codegen>

Thanks in advance,
Wojtek


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.