HHH-11329 fix tests using too long identifiers
(cherry picked from commit b4a9be0adc
)
Conflicts:
hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/TablePerClassWithEmbeddableTest.java
This commit is contained in:
parent
857298618c
commit
cd92cc6f5b
|
@ -146,16 +146,16 @@ public class SingleTableWithEmbeddableTest extends BaseCoreFunctionalTestCase {
|
|||
public class EmployeeContact implements Serializable {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "employee_embeddable_alert_contact")
|
||||
@JoinColumn(name = "employee_emb_alert_contact")
|
||||
private Person alertContact;
|
||||
|
||||
@OneToMany
|
||||
@JoinColumn(name = "employee_embeddable_alert_contact")
|
||||
@JoinColumn(name = "employee_emb_alert_contact")
|
||||
private Set<Employee> alerteeContacts = new HashSet<>();
|
||||
|
||||
@ManyToMany
|
||||
@OrderColumn(name = "list_idx")
|
||||
@JoinTable(name = "employee_embeddable_person_list")
|
||||
@JoinTable(name = "employee_emb_person_list")
|
||||
private List<Person> personList = new ArrayList<>();
|
||||
|
||||
@ManyToMany
|
||||
|
|
|
@ -50,7 +50,7 @@ public class TablePerClassWithEmbeddableTest extends BaseCoreFunctionalTestCase
|
|||
public void testSelectFromEmbeddedField() {
|
||||
Session session = openSession();
|
||||
session.getTransaction().begin();
|
||||
session.createSQLQuery( "select * from employee_embeddable_person_map" ).list();
|
||||
session.createSQLQuery( "select * from employee_emb_person_map" ).list();
|
||||
session.getTransaction().commit();
|
||||
session.close();
|
||||
}
|
||||
|
@ -145,16 +145,16 @@ public class TablePerClassWithEmbeddableTest extends BaseCoreFunctionalTestCase
|
|||
public class EmployeeContact implements Serializable {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "employee_embeddable_alert_contact")
|
||||
@JoinColumn(name = "employee_emb_alert_contact")
|
||||
private Person alertContact;
|
||||
|
||||
@OneToMany
|
||||
@JoinColumn(name = "employee_embeddable_alert_contact")
|
||||
@JoinColumn(name = "employee_emb_alert_contact")
|
||||
private Set<Employee> alerteeContacts = new HashSet<>();
|
||||
|
||||
@ManyToMany
|
||||
@OrderColumn(name = "list_idx")
|
||||
@JoinTable(name = "employee_embeddable_person_list")
|
||||
@JoinTable(name = "employee_emb_person_list")
|
||||
private List<Person> personList = new ArrayList<>();
|
||||
|
||||
@ManyToMany
|
||||
|
|
Loading…
Reference in New Issue