[HHH-10641] Fix identifier is too long exception for test LongVarcharValidationTest

This commit is contained in:
Martin Simka 2016-03-24 14:22:07 +01:00 committed by Vlad Mihalcea
parent 2182141e80
commit 971855188e
2 changed files with 3 additions and 10 deletions

View File

@ -62,7 +62,7 @@ public class LongVarcharValidationTest extends BaseUnitTestCase {
}
}
@Entity
@Entity(name = "Translation")
public static class Translation {
@Id
public Integer id;

View File

@ -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