Author: steve.ebersole(a)jboss.com
Date: 2010-07-08 12:11:34 -0400 (Thu, 08 Jul 2010)
New Revision: 19919
Modified:
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/inheritance/joined/Company.java
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/inheritance/joined/JoinedSubclassTest.java
Log:
HHH-4240 - SecondaryTables not recognized when using JOINED inheritance (missed declaring
Company entity)
Modified:
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/inheritance/joined/Company.java
===================================================================
---
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/inheritance/joined/Company.java 2010-07-08
14:08:58 UTC (rev 19918)
+++
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/inheritance/joined/Company.java 2010-07-08
16:11:34 UTC (rev 19919)
@@ -1,30 +1,26 @@
/*
- * Hibernate, Relational Persistence for Idiomatic Java
- *
- * Copyright (c) 2009, Red Hat, Inc. and/or its affiliates or third-
- * party contributors as indicated by the @author tags or express
- * copyright attribution statements applied by the authors.
- * All third-party contributions are distributed under license by
- * Red Hat, Inc.
- *
- * This copyrighted material is made available to anyone wishing to
- * use, modify, copy, or redistribute it subject to the terms and
- * conditions of the GNU Lesser General Public License, as published
- * by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this distribution; if not, write to:
- *
- * Free Software Foundation, Inc.
- * 51 Franklin Street, Fifth Floor
- * Boston, MA 02110-1301 USA
- */
-
+ * Hibernate, Relational Persistence for Idiomatic Java
+ *
+ * Copyright (c) 2010, Red Hat Inc. or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors. All third-party contributions are
+ * distributed under license by Red Hat Inc.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301 USA
+ */
package org.hibernate.test.annotations.inheritance.joined;
import javax.persistence.Column;
Modified:
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/inheritance/joined/JoinedSubclassTest.java
===================================================================
---
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/inheritance/joined/JoinedSubclassTest.java 2010-07-08
14:08:58 UTC (rev 19918)
+++
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/inheritance/joined/JoinedSubclassTest.java 2010-07-08
16:11:34 UTC (rev 19919)
@@ -1,4 +1,27 @@
-//$Id$
+
+/*
+ * Hibernate, Relational Persistence for Idiomatic Java
+ *
+ * Copyright (c) 2010, Red Hat Inc. or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors. All third-party contributions are
+ * distributed under license by Red Hat Inc.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301 USA
+ */
package org.hibernate.test.annotations.inheritance.joined;
import java.util.Iterator;
@@ -245,11 +268,8 @@
EventInformation.class,
Alarm.class,
Client.class,
- Account.class
- //Asset.class,
- //Parent.class,
- //PropertyAsset.class,
- //FinancialAsset.class
+ Account.class,
+ Company.class
};
}