HHH-14667 SequenceFilterTest only needs to be run on H2
This commit is contained in:
parent
5b2289e883
commit
ee55768587
|
@ -6,19 +6,16 @@
|
|||
*/
|
||||
package org.hibernate.test.schemafilter;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.SequenceGenerator;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.hamcrest.BaseMatcher;
|
||||
import org.hamcrest.Description;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.SequenceGenerator;
|
||||
|
||||
import org.hibernate.boot.Metadata;
|
||||
import org.hibernate.boot.MetadataSources;
|
||||
|
@ -34,16 +31,17 @@ import org.hibernate.tool.schema.internal.SchemaCreatorImpl;
|
|||
import org.hibernate.tool.schema.internal.SchemaDropperImpl;
|
||||
import org.hibernate.tool.schema.spi.SchemaFilter;
|
||||
|
||||
import org.hibernate.testing.RequiresDialect;
|
||||
import org.hibernate.testing.ServiceRegistryBuilder;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseUnitTestCase;
|
||||
import org.junit.After;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.testing.DialectChecks;
|
||||
import org.hibernate.testing.RequiresDialectFeature;
|
||||
import org.hibernate.testing.ServiceRegistryBuilder;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseUnitTestCase;
|
||||
import org.hamcrest.BaseMatcher;
|
||||
import org.hamcrest.Description;
|
||||
|
||||
import static org.hibernate.test.schemafilter.RecordingTarget.Category.SEQUENCE_CREATE;
|
||||
import static org.hibernate.test.schemafilter.RecordingTarget.Category.SEQUENCE_DROP;
|
||||
|
@ -52,7 +50,7 @@ import static org.hibernate.test.schemafilter.RecordingTarget.Category.SEQUENCE_
|
|||
* @author Andrea Boriero
|
||||
*/
|
||||
@TestForIssue(jiraKey = "HHH-10937")
|
||||
@RequiresDialectFeature(value = {DialectChecks.SupportSchemaCreation.class})
|
||||
@RequiresDialect(H2Dialect.class)
|
||||
public class SequenceFilterTest extends BaseUnitTestCase {
|
||||
private StandardServiceRegistryImpl serviceRegistry;
|
||||
private Metadata metadata;
|
||||
|
|
Loading…
Reference in New Issue