Re-enable envers test
This commit is contained in:
parent
c1fcb6cb92
commit
b176814b44
|
@ -77,7 +77,7 @@ public class GlobalConfiguration {
|
|||
Which operator to use in correlated subqueries (when we want a property to be equal to the result of
|
||||
a correlated subquery, for example: e.p <operator> (select max(e2.p) where e2.p2 = e.p2 ...).
|
||||
Normally, this should be "=". However, HSQLDB has an issue related to that, so as a workaround,
|
||||
"in" is used. See {@link org.hibernate.envers.test.various.HsqlTest}.
|
||||
"in" is used. See {@link org.hibernate.orm.test.envers.various.HsqlTest}.
|
||||
*/
|
||||
private final String correlatedSubqueryOperator;
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@ import org.hibernate.annotations.Generated;
|
|||
import org.hibernate.annotations.GenerationTime;
|
||||
import org.hibernate.dialect.H2Dialect;
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.mapping.Table;
|
||||
import org.junit.ComparisonFailure;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -9,10 +9,11 @@ package org.hibernate.envers.test.integration.basic;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.mapping.Column;
|
||||
import org.hibernate.mapping.Table;
|
||||
import org.hibernate.orm.test.envers.integration.basic.ScalePrecisionEntity;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Assert;
|
||||
|
@ -29,7 +30,7 @@ public class ColumnScalePrecisionTest extends BaseEnversJPAFunctionalTestCase {
|
|||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class[] {ScalePrecisionEntity.class};
|
||||
return new Class[] { ScalePrecisionEntity.class};
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -44,9 +45,9 @@ public class ColumnScalePrecisionTest extends BaseEnversJPAFunctionalTestCase {
|
|||
em.getTransaction().commit();
|
||||
|
||||
id = entity.getId();
|
||||
auditTable = metadata().getEntityBinding( "org.hibernate.envers.test.integration.basic.ScalePrecisionEntity_AUD" )
|
||||
auditTable = metadata().getEntityBinding( "org.hibernate.orm.test.envers.integration.basic.ScalePrecisionEntity_AUD" )
|
||||
.getTable();
|
||||
originalTable = metadata().getEntityBinding( "org.hibernate.envers.test.integration.basic.ScalePrecisionEntity" )
|
||||
originalTable = metadata().getEntityBinding( "org.hibernate.orm.test.envers.integration.basic.ScalePrecisionEntity" )
|
||||
.getTable();
|
||||
}
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ import javax.persistence.Id;
|
|||
|
||||
import org.hibernate.envers.AuditReader;
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -9,10 +9,10 @@ package org.hibernate.envers.test.integration.collection;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.collection.EnumMapEntity;
|
||||
import org.hibernate.envers.test.entities.collection.EnumMapType;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.collection.EnumMapEntity;
|
||||
import org.hibernate.orm.test.envers.entities.collection.EnumMapType;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -10,12 +10,12 @@ import java.util.Arrays;
|
|||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.collection.EnumSetEntity;
|
||||
import org.hibernate.envers.test.entities.collection.EnumSetEntity.E1;
|
||||
import org.hibernate.envers.test.entities.collection.EnumSetEntity.E2;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.collection.EnumSetEntity;
|
||||
import org.hibernate.orm.test.envers.entities.collection.EnumSetEntity.E1;
|
||||
import org.hibernate.orm.test.envers.entities.collection.EnumSetEntity.E2;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -9,7 +9,6 @@ package org.hibernate.envers.test.integration.collection;
|
|||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.persistence.ElementCollection;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
|
@ -19,13 +18,13 @@ import org.hibernate.annotations.Nationalized;
|
|||
import org.hibernate.dialect.AbstractHANADialect;
|
||||
import org.hibernate.dialect.DB2Dialect;
|
||||
import org.hibernate.dialect.DerbyDialect;
|
||||
import org.hibernate.dialect.Oracle8iDialect;
|
||||
import org.hibernate.dialect.PostgreSQL81Dialect;
|
||||
import org.hibernate.dialect.OracleDialect;
|
||||
import org.hibernate.dialect.PostgreSQLDialect;
|
||||
import org.hibernate.dialect.SybaseDialect;
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.hibernate.testing.SkipForDialect;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
@ -38,8 +37,8 @@ import static org.junit.Assert.assertEquals;
|
|||
* @author Chris Cranford
|
||||
*/
|
||||
@TestForIssue(jiraKey = "HHH-9834")
|
||||
@SkipForDialect(Oracle8iDialect.class)
|
||||
@SkipForDialect(value = PostgreSQL81Dialect.class, jiraKey = "HHH-11477", comment = "@Lob field in HQL predicate fails with error about text = bigint")
|
||||
@SkipForDialect(OracleDialect.class)
|
||||
@SkipForDialect(value = PostgreSQLDialect.class, jiraKey = "HHH-11477", comment = "@Lob field in HQL predicate fails with error about text = bigint")
|
||||
@SkipForDialect(value = AbstractHANADialect.class, comment = "HANA doesn't support comparing LOBs with the = operator")
|
||||
@SkipForDialect(value = SybaseDialect.class, comment = "Sybase doesn't support comparing LOBs with the = operator")
|
||||
@SkipForDialect(value = DB2Dialect.class, comment = "DB2 jdbc driver doesn't support setNString")
|
||||
|
|
|
@ -9,12 +9,12 @@ package org.hibernate.envers.test.integration.collection.mapkey;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.components.Component1;
|
||||
import org.hibernate.envers.test.entities.components.Component2;
|
||||
import org.hibernate.envers.test.entities.components.ComponentTestEntity;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.components.Component1;
|
||||
import org.hibernate.orm.test.envers.entities.components.Component2;
|
||||
import org.hibernate.orm.test.envers.entities.components.ComponentTestEntity;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ import javax.persistence.MapKey;
|
|||
import javax.persistence.Table;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.entities.components.Component1;
|
||||
import org.hibernate.envers.test.entities.components.ComponentTestEntity;
|
||||
import org.hibernate.orm.test.envers.entities.components.Component1;
|
||||
import org.hibernate.orm.test.envers.entities.components.ComponentTestEntity;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
|
|
|
@ -9,10 +9,10 @@ package org.hibernate.envers.test.integration.collection.mapkey;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.StrTestEntity;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.StrTestEntity;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import javax.persistence.MapKey;
|
|||
import javax.persistence.Table;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.entities.StrTestEntity;
|
||||
import org.hibernate.orm.test.envers.entities.StrTestEntity;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
|
|
|
@ -19,14 +19,14 @@ import javax.persistence.MapKeyColumn;
|
|||
import javax.persistence.MapKeyEnumerated;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
||||
import static org.hibernate.envers.test.tools.TestTools.checkCollection;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.checkCollection;
|
||||
import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
|
|
|
@ -19,9 +19,9 @@ import javax.persistence.MapKeyEnumerated;
|
|||
import javax.persistence.OneToMany;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -27,8 +27,8 @@ import javax.persistence.Table;
|
|||
|
||||
import org.hibernate.envers.AuditMappedBy;
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.transaction.TransactionUtil;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -18,8 +18,10 @@ import org.hibernate.cfg.Configuration;
|
|||
import org.hibernate.envers.configuration.EnversSettings;
|
||||
import org.hibernate.envers.internal.tools.StringTools;
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.components.dynamic.AuditedDynamicComponentEntity;
|
||||
import org.hibernate.orm.test.envers.integration.components.dynamic.SimpleEntity;
|
||||
import org.hibernate.service.ServiceRegistry;
|
||||
|
||||
import org.hibernate.testing.ServiceRegistryBuilder;
|
||||
|
|
|
@ -9,9 +9,9 @@ package org.hibernate.envers.test.integration.customtype;
|
|||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.customtype.EnumTypeEntity;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.customtype.EnumTypeEntity;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -21,9 +21,8 @@ import org.hibernate.engine.spi.SessionFactoryImplementor;
|
|||
import org.hibernate.engine.spi.SessionImplementor;
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.boot.internal.EnversService;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.internal.SessionImpl;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.persister.entity.EntityPersister;
|
||||
import org.hibernate.type.CustomType;
|
||||
import org.hibernate.usertype.UserType;
|
||||
|
|
|
@ -12,8 +12,8 @@ import javax.persistence.EntityManager;
|
|||
|
||||
import org.hibernate.dialect.Oracle8iDialect;
|
||||
import org.hibernate.envers.configuration.EnversSettings;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.hibernate.testing.RequiresDialect;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -9,9 +9,9 @@ package org.hibernate.envers.test.integration.customtype;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.customtype.ParametrizedCustomTypeEntity;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.customtype.ParametrizedCustomTypeEntity;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -12,9 +12,9 @@ import java.util.Map;
|
|||
|
||||
import org.hibernate.Session;
|
||||
import org.hibernate.cfg.AvailableSettings;
|
||||
import org.hibernate.envers.test.BaseEnversFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.customtype.UnspecifiedEnumTypeEntity;
|
||||
import org.hibernate.orm.test.envers.BaseEnversFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.customtype.UnspecifiedEnumTypeEntity;
|
||||
import org.hibernate.type.IntegerType;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -10,8 +10,8 @@ import java.util.Arrays;
|
|||
import java.util.Date;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -9,8 +9,8 @@ package org.hibernate.envers.test.integration.data;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.Map;
|
|||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.dialect.PostgreSQL82Dialect;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
|
||||
import org.hibernate.testing.DialectChecks;
|
||||
import org.hibernate.testing.RequiresDialectFeature;
|
||||
|
|
|
@ -12,8 +12,8 @@ import java.util.Map;
|
|||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.dialect.PostgreSQL82Dialect;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.testing.DialectChecks;
|
||||
import org.hibernate.testing.RequiresDialectFeature;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -9,8 +9,8 @@ package org.hibernate.envers.test.integration.data;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.envers.test.integration.components.dynamic;
|
||||
package org.hibernate.envers.test.integration.dynamic;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
@ -14,13 +14,18 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.hibernate.QueryException;
|
||||
import org.hibernate.Session;
|
||||
import org.hibernate.cfg.AvailableSettings;
|
||||
import org.hibernate.envers.exception.AuditException;
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.components.dynamic.AdvancedEntity;
|
||||
import org.hibernate.orm.test.envers.integration.components.dynamic.Age;
|
||||
import org.hibernate.orm.test.envers.integration.components.dynamic.InternalComponent;
|
||||
import org.hibernate.orm.test.envers.integration.components.dynamic.ManyToManyEntity;
|
||||
import org.hibernate.orm.test.envers.integration.components.dynamic.ManyToOneEntity;
|
||||
import org.hibernate.orm.test.envers.integration.components.dynamic.OneToOneEntity;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
@ -384,7 +389,7 @@ public class AuditedDynamicComponentsAdvancedCasesTest extends BaseEnversFunctio
|
|||
|
||||
assertTyping( AuditException.class, e );
|
||||
Assert.assertEquals(
|
||||
"This type of relation (org.hibernate.envers.test.integration.components.dynamic.AdvancedEntity.dynamicConfiguration_internalMapWithEntities) isn't supported and can't be used in queries.",
|
||||
"This type of relation (org.hibernate.orm.test.envers.integration.components.dynamic.AdvancedEntity.dynamicConfiguration_internalMapWithEntities) isn't supported and can't be used in queries.",
|
||||
e.getMessage()
|
||||
);
|
||||
}
|
|
@ -8,8 +8,8 @@ package org.hibernate.envers.test.integration.generated;
|
|||
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.envers.test.integration.interfaces.hbm.allAudited.joined;
|
||||
package org.hibernate.envers.test.integration.hbm.allAudited.joined;
|
||||
|
||||
import org.hibernate.envers.test.integration.interfaces.hbm.allAudited.AbstractAllAuditedTest;
|
||||
import org.hibernate.orm.test.envers.integration.interfaces.hbm.allAudited.AbstractAllAuditedTest;
|
||||
|
||||
/**
|
||||
* @author Hern<EFBFBD>n Chanfreau
|
|
@ -9,15 +9,15 @@ package org.hibernate.envers.test.integration.ids;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.ids.CustomEnum;
|
||||
import org.hibernate.envers.test.entities.ids.EmbId;
|
||||
import org.hibernate.envers.test.entities.ids.EmbIdTestEntity;
|
||||
import org.hibernate.envers.test.entities.ids.EmbIdWithCustomType;
|
||||
import org.hibernate.envers.test.entities.ids.EmbIdWithCustomTypeTestEntity;
|
||||
import org.hibernate.envers.test.entities.ids.MulId;
|
||||
import org.hibernate.envers.test.entities.ids.MulIdTestEntity;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.ids.CustomEnum;
|
||||
import org.hibernate.orm.test.envers.entities.ids.EmbId;
|
||||
import org.hibernate.orm.test.envers.entities.ids.EmbIdTestEntity;
|
||||
import org.hibernate.orm.test.envers.entities.ids.EmbIdWithCustomType;
|
||||
import org.hibernate.orm.test.envers.entities.ids.EmbIdWithCustomTypeTestEntity;
|
||||
import org.hibernate.orm.test.envers.entities.ids.MulId;
|
||||
import org.hibernate.orm.test.envers.entities.ids.MulIdTestEntity;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@ import javax.persistence.Table;
|
|||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.RelationTargetAuditMode;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -21,8 +21,8 @@ import javax.persistence.ManyToOne;
|
|||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.RevisionType;
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -9,8 +9,12 @@ package org.hibernate.envers.test.integration.ids.embeddedid;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.ids.embeddedid.Item;
|
||||
import org.hibernate.orm.test.envers.integration.ids.embeddedid.ItemId;
|
||||
import org.hibernate.orm.test.envers.integration.ids.embeddedid.Producer;
|
||||
import org.hibernate.orm.test.envers.integration.ids.embeddedid.PurchaseOrder;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Assert;
|
||||
|
@ -26,7 +30,7 @@ public class RelationInsideEmbeddableTest extends BaseEnversJPAFunctionalTestCas
|
|||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {PurchaseOrder.class, Item.class, ItemId.class, Producer.class};
|
||||
return new Class<?>[] { PurchaseOrder.class, Item.class, ItemId.class, Producer.class};
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -9,8 +9,11 @@ package org.hibernate.envers.test.integration.ids.idclass;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.ids.idclass.ClassType;
|
||||
import org.hibernate.orm.test.envers.integration.ids.idclass.RelationalClassId;
|
||||
import org.hibernate.orm.test.envers.integration.ids.idclass.SampleClass;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
@ -26,7 +29,7 @@ public class IdClassWithRelationTest extends BaseEnversJPAFunctionalTestCase {
|
|||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class<?>[] {SampleClass.class, RelationalClassId.class, ClassType.class};
|
||||
return new Class<?>[] { SampleClass.class, RelationalClassId.class, ClassType.class};
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.hibernate.envers.test.integration.inheritance.joined;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.hibernate.envers.test.integration.inheritance.joined;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@ import javax.persistence.OneToMany;
|
|||
import javax.persistence.Table;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.hibernate.envers.test.integration.inheritance.joined;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@ package org.hibernate.envers.test.integration.inheritance.joined.childrelation;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.hibernate.envers.test.integration.inheritance.joined.emptychild;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@ package org.hibernate.envers.test.integration.inheritance.joined.notownedrelatio
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.hibernate.envers.test.integration.inheritance.joined.primarykeyjoin;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.ParentEntity;
|
||||
import org.hibernate.mapping.Column;
|
||||
|
||||
|
|
|
@ -9,9 +9,9 @@ package org.hibernate.envers.test.integration.inheritance.joined.relation;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -10,9 +10,9 @@ package org.hibernate.envers.test.integration.inheritance.joined.relation;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@ import java.util.Arrays;
|
|||
import java.util.Set;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@ package org.hibernate.envers.test.integration.inheritance.mixed;
|
|||
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.envers.test.integration.inheritance.mixed.entities.AbstractActivity;
|
||||
import org.hibernate.envers.test.integration.inheritance.mixed.entities.AbstractCheckActivity;
|
||||
import org.hibernate.envers.test.integration.inheritance.mixed.entities.Activity;
|
||||
|
|
|
@ -10,9 +10,9 @@ package org.hibernate.envers.test.integration.inheritance.tableperclass.childrel
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@ package org.hibernate.envers.test.integration.manytoone.bidirectional;
|
|||
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@ import java.util.HashSet;
|
|||
import java.util.Set;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -9,7 +9,7 @@ package org.hibernate.envers.test.integration.manytoone.foreignkey;
|
|||
import java.time.LocalDate;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -11,9 +11,6 @@ import org.hibernate.envers.NotAudited;
|
|||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import java.util.List;
|
||||
|
|
|
@ -6,16 +6,14 @@
|
|||
*/
|
||||
package org.hibernate.envers.test.integration.manytoone.lazy;
|
||||
|
||||
import org.hibernate.Hibernate;
|
||||
import org.hibernate.envers.configuration.EnversSettings;
|
||||
import org.hibernate.envers.test.BaseEnversFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
import java.util.Arrays;
|
||||
import java.util.Map;
|
||||
|
||||
import static org.hibernate.testing.transaction.TransactionUtil.doInHibernate;
|
||||
|
|
|
@ -11,8 +11,8 @@ import java.time.Instant;
|
|||
import java.util.Arrays;
|
||||
|
||||
import org.hibernate.Hibernate;
|
||||
import org.hibernate.envers.test.BaseEnversFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -16,7 +16,6 @@ import javax.persistence.GenerationType;
|
|||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,16 +4,16 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.envers.test.integration.manytomany;
|
||||
package org.hibernate.envers.test.integration.maytomany;
|
||||
|
||||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.IntNoAutoIdTestEntity;
|
||||
import org.hibernate.envers.test.entities.manytomany.WhereJoinTableEntity;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.IntNoAutoIdTestEntity;
|
||||
import org.hibernate.orm.test.envers.entities.manytomany.WhereJoinTableEntity;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.junit.Test;
|
||||
|
|
@ -10,12 +10,13 @@ import java.util.List;
|
|||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.integration.auditReader.AuditedTestEntity;
|
||||
import org.hibernate.envers.test.integration.auditReader.NotAuditedTestEntity;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.auditReader.AuditedTestEntity;
|
||||
import org.hibernate.orm.test.envers.integration.auditReader.NotAuditedTestEntity;
|
||||
|
||||
import org.hibernate.envers.test.integration.modifiedflags.entities.EnumEntity;
|
||||
import org.hibernate.envers.test.integration.modifiedflags.entities.EnumOption;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.AbstractModifiedFlagsEntityTest;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.entities.EnumEntity;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.entities.EnumOption;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -9,15 +9,16 @@ package org.hibernate.envers.test.integration.modifiedflags;
|
|||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.integration.onetoone.bidirectional.BiRefEdEntity;
|
||||
import org.hibernate.envers.test.integration.onetoone.bidirectional.BiRefIngEntity;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.AbstractModifiedFlagsEntityTest;
|
||||
import org.hibernate.orm.test.envers.integration.onetoone.bidirectional.BiRefEdEntity;
|
||||
import org.hibernate.orm.test.envers.integration.onetoone.bidirectional.BiRefIngEntity;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
import static org.hibernate.envers.test.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.envers.test.tools.TestTools.makeList;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.makeList;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
|
|
|
@ -10,15 +10,16 @@ package org.hibernate.envers.test.integration.modifiedflags;
|
|||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.ChildEntity;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.ParentEntity;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.AbstractModifiedFlagsEntityTest;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
import static org.hibernate.envers.test.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.envers.test.tools.TestTools.makeList;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.makeList;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
|
|
|
@ -10,16 +10,17 @@ package org.hibernate.envers.test.integration.modifiedflags;
|
|||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.childrelation.ChildIngEntity;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.childrelation.ParentNotIngEntity;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.childrelation.ReferencedEntity;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.AbstractModifiedFlagsEntityTest;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
import static org.hibernate.envers.test.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.envers.test.tools.TestTools.makeList;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.makeList;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
|
|
|
@ -9,16 +9,17 @@ package org.hibernate.envers.test.integration.modifiedflags;
|
|||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.collection.EnumSetEntity;
|
||||
import org.hibernate.envers.test.entities.collection.EnumSetEntity.E1;
|
||||
import org.hibernate.envers.test.entities.collection.EnumSetEntity.E2;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.collection.EnumSetEntity;
|
||||
import org.hibernate.orm.test.envers.entities.collection.EnumSetEntity.E1;
|
||||
import org.hibernate.orm.test.envers.entities.collection.EnumSetEntity.E2;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.AbstractModifiedFlagsEntityTest;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
import static org.hibernate.envers.test.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.envers.test.tools.TestTools.makeList;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.makeList;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
|
|
|
@ -10,17 +10,18 @@ import java.util.Arrays;
|
|||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.StrTestEntity;
|
||||
import org.hibernate.envers.test.entities.components.Component1;
|
||||
import org.hibernate.envers.test.entities.components.Component2;
|
||||
import org.hibernate.envers.test.integration.modifiedflags.entities.PartialModifiedFlagsEntity;
|
||||
import org.hibernate.envers.test.integration.modifiedflags.entities.WithModifiedFlagReferencingEntity;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.StrTestEntity;
|
||||
import org.hibernate.orm.test.envers.entities.components.Component1;
|
||||
import org.hibernate.orm.test.envers.entities.components.Component2;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.AbstractModifiedFlagsEntityTest;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.entities.PartialModifiedFlagsEntity;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.entities.WithModifiedFlagReferencingEntity;
|
||||
import org.junit.Test;
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
import static org.hibernate.envers.test.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.envers.test.tools.TestTools.makeList;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.makeList;
|
||||
|
||||
/**
|
||||
* @author Michal Skowronek (mskowr at o2 dot pl)
|
||||
|
|
|
@ -10,16 +10,17 @@ package org.hibernate.envers.test.integration.modifiedflags;
|
|||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.notownedrelation.Address;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.notownedrelation.Contact;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.notownedrelation.PersonalContact;
|
||||
import org.hibernate.orm.test.envers.integration.modifiedflags.AbstractModifiedFlagsEntityTest;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
import static org.hibernate.envers.test.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.envers.test.tools.TestTools.makeList;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.extractRevisionNumbers;
|
||||
import static org.hibernate.orm.test.envers.tools.TestTools.makeList;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
|
|
|
@ -9,7 +9,7 @@ package org.hibernate.envers.test.integration.modifiedflags.naming;
|
|||
import java.util.Map;
|
||||
|
||||
import org.hibernate.envers.configuration.EnversSettings;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.mapping.Column;
|
||||
import org.hibernate.mapping.Table;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
package org.hibernate.envers.test.integration.modifiedflags.naming;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.mapping.Column;
|
||||
import org.hibernate.mapping.Table;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -9,8 +9,10 @@ package org.hibernate.envers.test.integration.naming;
|
|||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.Query;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.naming.NamingTestEntity2;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -19,7 +21,7 @@ public class AuditColumnNameTest extends BaseEnversJPAFunctionalTestCase {
|
|||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class[] {NamingTestEntity2.class};
|
||||
return new Class[] { NamingTestEntity2.class};
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -11,11 +11,15 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.components.Component1;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.components.Component1;
|
||||
import org.hibernate.mapping.Column;
|
||||
import org.hibernate.mapping.PersistentClass;
|
||||
import org.hibernate.orm.test.envers.integration.naming.VersionsJoinTableRangeComponentTestEntity;
|
||||
import org.hibernate.orm.test.envers.integration.naming.VersionsJoinTableRangeTestAlternateEntity;
|
||||
import org.hibernate.orm.test.envers.integration.naming.VersionsJoinTableRangeTestEntity;
|
||||
import org.hibernate.orm.test.envers.integration.naming.VersionsJoinTableRangeTestEntitySuperClass;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ package org.hibernate.envers.test.integration.nativequery;
|
|||
import java.util.List;
|
||||
import javax.persistence.Query;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -8,8 +8,8 @@ package org.hibernate.envers.test.integration.naturalid;
|
|||
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ import java.util.Map;
|
|||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.configuration.EnversSettings;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -9,11 +9,11 @@ package org.hibernate.envers.test.integration.onetomany.detached;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.onetomany.detached.inheritance.ChildIndexedListJoinColumnBidirectionalRefIngEntity;
|
||||
import org.hibernate.envers.test.entities.onetomany.detached.inheritance.ParentIndexedListJoinColumnBidirectionalRefIngEntity;
|
||||
import org.hibernate.envers.test.entities.onetomany.detached.inheritance.ParentOwnedIndexedListJoinColumnBidirectionalRefEdEntity;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.onetomany.detached.inheritance.ChildIndexedListJoinColumnBidirectionalRefIngEntity;
|
||||
import org.hibernate.orm.test.envers.entities.onetomany.detached.inheritance.ParentIndexedListJoinColumnBidirectionalRefIngEntity;
|
||||
import org.hibernate.orm.test.envers.entities.onetomany.detached.inheritance.ParentOwnedIndexedListJoinColumnBidirectionalRefEdEntity;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -9,8 +9,11 @@ package org.hibernate.envers.test.integration.onetomany.embeddedid;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.onetomany.embeddedid.Constant;
|
||||
import org.hibernate.orm.test.envers.integration.onetomany.embeddedid.Person;
|
||||
import org.hibernate.orm.test.envers.integration.onetomany.embeddedid.PersonTuple;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -9,9 +9,9 @@ package org.hibernate.envers.test.integration.onetomany.hierarchy;
|
|||
import java.util.Arrays;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -9,8 +9,12 @@ package org.hibernate.envers.test.integration.onetomany.idclass;
|
|||
import java.util.Arrays;
|
||||
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.onetomany.idclass.ManyToManyCompositeKey;
|
||||
import org.hibernate.orm.test.envers.integration.onetomany.idclass.ManyToOneOwned;
|
||||
import org.hibernate.orm.test.envers.integration.onetomany.idclass.OneToManyOwned;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.transaction.TransactionUtil;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -8,8 +8,11 @@ package org.hibernate.envers.test.integration.onetoone.bidirectional;
|
|||
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.onetoone.bidirectional.BiRefedOptionalEntity;
|
||||
import org.hibernate.orm.test.envers.integration.onetoone.bidirectional.BiRefingOptionalEntity;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -12,11 +12,11 @@ import javax.persistence.criteria.JoinType;
|
|||
|
||||
import org.hibernate.envers.AuditReader;
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.integration.query.entities.Address;
|
||||
import org.hibernate.envers.test.integration.query.entities.Car;
|
||||
import org.hibernate.envers.test.integration.query.entities.Person;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.integration.query.entities.Address;
|
||||
import org.hibernate.orm.test.envers.integration.query.entities.Car;
|
||||
import org.hibernate.orm.test.envers.integration.query.entities.Person;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ import javax.persistence.OneToOne;
|
|||
import javax.persistence.criteria.JoinType;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -11,9 +11,9 @@ import java.util.List;
|
|||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.IntTestEntity;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.IntTestEntity;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.hibernate.annotations.Fetch;
|
|||
import org.hibernate.annotations.FetchMode;
|
||||
import org.hibernate.envers.AuditMappedBy;
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -19,7 +19,7 @@ import javax.persistence.Id;
|
|||
import javax.persistence.OrderBy;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.hibernate.annotations.Fetch;
|
|||
import org.hibernate.annotations.FetchMode;
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.RelationTargetAuditMode;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.hibernate.annotations.Fetch;
|
|||
import org.hibernate.annotations.FetchMode;
|
||||
import org.hibernate.envers.AuditMappedBy;
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -12,12 +12,12 @@ import java.util.Set;
|
|||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.ids.EmbId;
|
||||
import org.hibernate.envers.test.entities.onetomany.ids.SetRefEdEmbIdEntity;
|
||||
import org.hibernate.envers.test.entities.onetomany.ids.SetRefIngEmbIdEntity;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.ids.EmbId;
|
||||
import org.hibernate.orm.test.envers.entities.onetomany.ids.SetRefEdEmbIdEntity;
|
||||
import org.hibernate.orm.test.envers.entities.onetomany.ids.SetRefIngEmbIdEntity;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ import javax.persistence.ManyToOne;
|
|||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.RevisionType;
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -18,8 +18,8 @@ import javax.persistence.ManyToOne;
|
|||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.RevisionType;
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -12,12 +12,12 @@ import java.util.Set;
|
|||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.ids.MulId;
|
||||
import org.hibernate.envers.test.entities.onetomany.ids.SetRefEdMulIdEntity;
|
||||
import org.hibernate.envers.test.entities.onetomany.ids.SetRefIngMulIdEntity;
|
||||
import org.hibernate.envers.test.tools.TestTools;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.ids.MulId;
|
||||
import org.hibernate.orm.test.envers.entities.onetomany.ids.SetRefEdMulIdEntity;
|
||||
import org.hibernate.orm.test.envers.entities.onetomany.ids.SetRefIngMulIdEntity;
|
||||
import org.hibernate.orm.test.envers.tools.TestTools;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ import javax.persistence.ManyToOne;
|
|||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.RevisionType;
|
||||
import org.hibernate.envers.query.AuditEntity;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
|
|
|
@ -11,8 +11,8 @@ import java.util.List;
|
|||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.dialect.Oracle8iDialect;
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -9,10 +9,11 @@ package org.hibernate.envers.test.integration.reventity;
|
|||
|
||||
import java.util.Iterator;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.ChildEntity;
|
||||
import org.hibernate.envers.test.integration.inheritance.joined.ParentEntity;
|
||||
import org.hibernate.mapping.Column;
|
||||
import org.hibernate.orm.test.envers.integration.reventity.LongRevNumberRevEntity;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -34,7 +35,7 @@ public class LongRevEntityInheritanceChildAuditing extends BaseEnversJPAFunction
|
|||
public void testChildRevColumnType() {
|
||||
// We need the second column
|
||||
Iterator childEntityKeyColumnsIterator = metadata()
|
||||
.getEntityBinding("org.hibernate.envers.test.integration.inheritance.joined.ChildEntity_AUD" )
|
||||
.getEntityBinding("org.hibernate.orm.test.envers.integration.inheritance.joined.ChildEntity_AUD" )
|
||||
.getKey()
|
||||
.getColumnIterator();
|
||||
childEntityKeyColumnsIterator.next();
|
||||
|
|
|
@ -10,8 +10,8 @@ import java.util.Arrays;
|
|||
import java.util.Iterator;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.mapping.Join;
|
||||
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -10,8 +10,8 @@ import java.util.Arrays;
|
|||
import java.util.Iterator;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.mapping.Join;
|
||||
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -10,9 +10,9 @@ import java.util.Arrays;
|
|||
import java.util.Iterator;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.ids.EmbId;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.ids.EmbId;
|
||||
import org.hibernate.mapping.Join;
|
||||
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -10,9 +10,9 @@ import java.util.Arrays;
|
|||
import java.util.Iterator;
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.envers.test.Priority;
|
||||
import org.hibernate.envers.test.entities.ids.MulId;
|
||||
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
|
||||
import org.hibernate.orm.test.envers.Priority;
|
||||
import org.hibernate.orm.test.envers.entities.ids.MulId;
|
||||
import org.hibernate.mapping.Join;
|
||||
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -13,7 +13,7 @@ import javax.persistence.SecondaryTable;
|
|||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.SecondaryAuditTable;
|
||||
import org.hibernate.envers.test.entities.ids.EmbId;
|
||||
import org.hibernate.orm.test.envers.entities.ids.EmbId;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
|
|
|
@ -14,7 +14,7 @@ import javax.persistence.SecondaryTable;
|
|||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.hibernate.envers.SecondaryAuditTable;
|
||||
import org.hibernate.envers.test.entities.ids.MulId;
|
||||
import org.hibernate.orm.test.envers.entities.ids.MulId;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.envers.test;
|
||||
package org.hibernate.orm.test.envers;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
|
@ -4,7 +4,7 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.envers.test;
|
||||
package org.hibernate.orm.test.envers;
|
||||
|
||||
import java.io.File;
|
||||
import java.net.URISyntaxException;
|
|
@ -4,7 +4,7 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.envers.test;
|
||||
package org.hibernate.orm.test.envers;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
|
@ -4,7 +4,7 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.envers.test;
|
||||
package org.hibernate.orm.test.envers;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
@ -20,7 +20,6 @@ import org.hibernate.cfg.Environment;
|
|||
import org.hibernate.dialect.Dialect;
|
||||
import org.hibernate.dialect.H2Dialect;
|
||||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.engine.spi.SessionImplementor;
|
||||
import org.hibernate.engine.transaction.internal.jta.JtaStatusHelper;
|
||||
import org.hibernate.envers.AuditReader;
|
||||
import org.hibernate.envers.AuditReaderFactory;
|
||||
|
@ -40,7 +39,6 @@ import org.hibernate.testing.BeforeClassOnce;
|
|||
import org.hibernate.testing.jdbc.SharedDriverManagerConnectionProviderImpl;
|
||||
import org.hibernate.testing.jta.TestingJtaPlatformImpl;
|
||||
import org.hibernate.testing.junit4.Helper;
|
||||
import org.jboss.logging.Logger;
|
||||
import org.junit.After;
|
||||
|
||||
/**
|
|
@ -4,7 +4,7 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.envers.test;
|
||||
package org.hibernate.orm.test.envers;
|
||||
|
||||
import java.lang.reflect.Modifier;
|
||||
import java.util.ArrayList;
|
|
@ -4,7 +4,7 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.envers.test;
|
||||
package org.hibernate.orm.test.envers;
|
||||
|
||||
import org.hibernate.envers.DefaultRevisionEntity_;
|
||||
import org.hibernate.envers.DefaultTrackingModifiedEntitiesRevisionEntity_;
|
|
@ -4,7 +4,7 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.envers.test;
|
||||
package org.hibernate.orm.test.envers;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue