Add default Namespace & Assembly to hibernate-mapping
Description
It would be nice if the hibernate-mapping element had an assembly and namespace attribute that could be the default value for the classes in the hbm.
If the mapping looked something like <hibernate-mapping namespace="NS.NS1" assembly="ASMBLY" > <class name="sometype"> .... </hibernate-mapping>
Then the Binder would be smart enough to make the class name actually be "NS.NS1.sometype, ASMBLY" during the configuration process. If the attribute name="NS.NS1.NS2.thetype" it would be smart enough to make the name "NS.NS1.NS2.thetype, ASMBLY". Of course, if there was an assembly specified in the name="" then it would not use the default namespace, assembly.
It would be nice if the hibernate-mapping element had an assembly and namespace attribute that could be the default value for the classes in the hbm.
If the mapping looked something like
<hibernate-mapping
namespace="NS.NS1"
assembly="ASMBLY"
>
<class name="sometype">
....
</hibernate-mapping>
Then the Binder would be smart enough to make the class name actually be "NS.NS1.sometype, ASMBLY" during the configuration process. If the attribute name="NS.NS1.NS2.thetype" it would be smart enough to make the name "NS.NS1.NS2.thetype, ASMBLY". Of course, if there was an assembly specified in the name="" then it would not use the default namespace, assembly.