[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2072) complain if subclass and joined-subclass extends are used at the same time

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Wed Sep 13 06:54:24 EDT 2006


complain if subclass and joined-subclass extends are used at the same time
--------------------------------------------------------------------------

         Key: HHH-2072
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2072
     Project: Hibernate3
        Type: Bug

  Components: core  
    Versions: 3.2.0.cr4    
    Reporter: Max Rydahl Andersen
    Priority: Minor



the following just works as if everything were a <subclass>, e.g. "ignoring" that <joined-subclass> is actually present.


<hibernate-mapping 
	package="org.hibernate.tool.hbm2x.hbm2hbmxml">
	
	<class name="Animal">
		<id name="id" type="long">
			<generator class="assigned"/>
		</id>
		<property name="legs" type="int"/>
	</class>
	
	<subclass name="Human" extends="Animal">
		<property name="name" type="string"/>
	</subclass>
	
	<joined-subclass name="Alien" extends="Animal">
	  <key column="aid"/>
	  <property name="planet" type="string"/>
	</joined-subclass>
		
</hibernate-mapping>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list