Hello,

I am encountering a regression bug in the NHibernate 3.0.0 builds.

The following mapping document now throws a
NHIbernate.MappingException with message "These classes referenced by
'extends' were not found":

<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   assembly="NHibernate.Test"
                   namespace="NHibernate.Test.NHSpecificTest.NHxxxx">

  <class name="Actor" table="actors">
    <id name="Id" column="person_id">
      <generator class="increment" />
    </id>
    <discriminator column="actor-type" />

    <subclass name="Person" discriminator-value="P" />

    <subclass name="Role" discriminator-value="R">
      <many-to-one name="Performer" class="Person" column="performer" /
>
    </subclass>
  </class>

  <subclass name="Developer" extends="Role" discriminator-value="R-
DEV" />
</hibernate-mapping>

It seems that the hibernate-mapping/subclass/@extends attribute can no
longer refer to hibernate-mapping/class//subclass elements.

I intend to file a bug in NHibernate JIRA.

Regards,
Gerke.

-- 
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