[HHH-10641] Fix identifier is too long exception for test LongVarcharValidationTest
This commit is contained in:
parent
397d3d7de9
commit
a7694b5225
|
@ -28,7 +28,6 @@ import org.hibernate.tool.schema.spi.ScriptTargetOutput;
|
|||
import org.hibernate.tool.schema.spi.SourceDescriptor;
|
||||
import org.hibernate.tool.schema.spi.TargetDescriptor;
|
||||
|
||||
import org.hibernate.testing.FailureExpected;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseUnitTestCase;
|
||||
import org.junit.After;
|
||||
|
@ -138,7 +137,7 @@ public class LongVarcharValidationTest extends BaseUnitTestCase implements Execu
|
|||
);
|
||||
}
|
||||
|
||||
@Entity
|
||||
@Entity(name = "Translation")
|
||||
public static class Translation {
|
||||
@Id
|
||||
public Integer id;
|
||||
|
|
|
@ -8,14 +8,7 @@ package org.hibernate.jpa.test.criteria;
|
|||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityTransaction;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.TypedQuery;
|
||||
import javax.persistence.*;
|
||||
import javax.persistence.criteria.CriteriaBuilder;
|
||||
import javax.persistence.criteria.CriteriaQuery;
|
||||
import javax.persistence.criteria.Root;
|
||||
|
@ -98,7 +91,7 @@ public class EntitySuperclassCollectionTest extends BaseEntityManagerFunctionalT
|
|||
}
|
||||
}
|
||||
|
||||
@Entity
|
||||
@Entity(name = "PersonBase")
|
||||
public abstract static class PersonBase {
|
||||
@Id
|
||||
@GeneratedValue
|
||||
|
|
Loading…
Reference in New Issue