HHH-9150 : Envers test table is too long causing Oracle failure
This commit is contained in:
parent
4b443069fd
commit
5bb9d2e2d1
|
@ -31,6 +31,7 @@ import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
import javax.persistence.JoinColumn;
|
import javax.persistence.JoinColumn;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
import org.hibernate.envers.Audited;
|
import org.hibernate.envers.Audited;
|
||||||
import org.hibernate.envers.NotAudited;
|
import org.hibernate.envers.NotAudited;
|
||||||
|
@ -39,6 +40,7 @@ import org.hibernate.envers.NotAudited;
|
||||||
* @author Adam Warski (adam at warski dot org)
|
* @author Adam Warski (adam at warski dot org)
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
|
@Table( name = "SupCompSetTestEntity")
|
||||||
@Audited
|
@Audited
|
||||||
public class MappedSuperclassComponentSetTestEntity {
|
public class MappedSuperclassComponentSetTestEntity {
|
||||||
@Id
|
@Id
|
||||||
|
|
|
@ -31,6 +31,7 @@ import javax.persistence.Embedded;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
import org.hibernate.envers.Audited;
|
import org.hibernate.envers.Audited;
|
||||||
|
|
||||||
|
@ -38,6 +39,7 @@ import org.hibernate.envers.Audited;
|
||||||
* @author Jakob Braeuchi.
|
* @author Jakob Braeuchi.
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
|
@Table(name="EntEmbWDeclData")
|
||||||
@Access(AccessType.FIELD)
|
@Access(AccessType.FIELD)
|
||||||
@Audited
|
@Audited
|
||||||
public class EntityWithEmbeddableWithDeclaredData {
|
public class EntityWithEmbeddableWithDeclaredData {
|
||||||
|
|
|
@ -31,6 +31,7 @@ import javax.persistence.Embedded;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
import org.hibernate.envers.Audited;
|
import org.hibernate.envers.Audited;
|
||||||
|
|
||||||
|
@ -38,6 +39,7 @@ import org.hibernate.envers.Audited;
|
||||||
* @author Jakob Braeuchi.
|
* @author Jakob Braeuchi.
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
|
@Table(name="EntEmbWNoDeclData")
|
||||||
@Access(AccessType.FIELD)
|
@Access(AccessType.FIELD)
|
||||||
@Audited
|
@Audited
|
||||||
public class EntityWithEmbeddableWithNoDeclaredData {
|
public class EntityWithEmbeddableWithNoDeclaredData {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||||||
<hibernate-mapping default-lazy="false">
|
<hibernate-mapping default-lazy="false">
|
||||||
<!-- shortened table name for Oracle -->
|
<!-- 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"/>
|
<id name="id" type="long" column="id"/>
|
||||||
<property name="note" type="string"/>
|
<property name="note" type="string"/>
|
||||||
<component name="component" class="org.hibernate.envers.test.integration.components.dynamic.PlainComponent">
|
<component name="component" class="org.hibernate.envers.test.integration.components.dynamic.PlainComponent">
|
||||||
|
|
Loading…
Reference in New Issue