Hi

I could have sworn it was possible to have a <typedef> declaration and the 
usage of it in different mapping files. But... no.

Like this

File A
<hibernate-mapping ...>
    <class name="Foo">
        <property name="Bar" type="MyUserType"/>

File B
<hibernate-mapping ..>
    <typedef name="MyUserType" class="ass.type, ass"/>

The above doesn't work. "MyUserType" cannot be found.

Is this...

a)      I remember wrong. This has never worked. You need to declare typedef in 
same mapping file as where it's used.

b)      I remember wrong. This has never worked. An improvement I should put on 
Jira.

c)       A bug on trunk. I create a Jira issue for this.

/Roger


-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to