HHH-9150 : Envers test table is too long causing Oracle failure

This commit is contained in:
Gail Badner 2014-04-30 18:09:15 -07:00
parent 24b041986d
commit d259f8d62a
4 changed files with 7 additions and 1 deletions

View File

@ -31,6 +31,7 @@ import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Table;
import org.hibernate.envers.Audited;
import org.hibernate.envers.NotAudited;
@ -39,6 +40,7 @@ import org.hibernate.envers.NotAudited;
* @author Adam Warski (adam at warski dot org)
*/
@Entity
@Table( name = "SupCompSetTestEntity")
@Audited
public class MappedSuperclassComponentSetTestEntity {
@Id

View File

@ -31,6 +31,7 @@ import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.envers.Audited;
@ -38,6 +39,7 @@ import org.hibernate.envers.Audited;
* @author Jakob Braeuchi.
*/
@Entity
@Table(name="EntEmbWDeclData")
@Access(AccessType.FIELD)
@Audited
public class EntityWithEmbeddableWithDeclaredData {

View File

@ -31,6 +31,7 @@ import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.envers.Audited;
@ -38,6 +39,7 @@ import org.hibernate.envers.Audited;
* @author Jakob Braeuchi.
*/
@Entity
@Table(name="EntEmbWNoDeclData")
@Access(AccessType.FIELD)
@Audited
public class EntityWithEmbeddableWithNoDeclaredData {

View File

@ -4,7 +4,7 @@
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-lazy="false">
<!-- shortened table name for Oracle -->
<class name="org.hibernate.envers.test.integration.components.dynamic.PlainEntity" table="Plain_entity">
<class name="org.hibernate.envers.test.integration.components.dynamic.PlainEntity" table="PEntity">
<id name="id" type="long" column="id"/>
<property name="note" type="string"/>
<component name="component" class="org.hibernate.envers.test.integration.components.dynamic.PlainComponent">