-->
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: Mapping using multiple namespaces
PostPosted: Sat Jan 23, 2010 4:51 am 
Newbie

Joined: Tue Jan 05, 2010 12:15 pm
Posts: 9
I'm using multiple namespaces in my assembly, one for the interfaces and one for the classes, is there a way that i can use classes of both namespaces within my mapping file without giving the explicit name?
Currently i have:
Code:
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Test" namespace="Test">
  <class name="TestClass" table="TestTable" proxy="Test.Interfaces.ITestClass">
  ...
  </class>
</hibernate>

I would like to have:
Code:
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Test" namespace="Test">
  <class name="TestClass" table="TestTable" proxy="ITestClass">
  ...
  </class>
</hibernate>


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.