HHH-11329 fix tests using too long identifiers
This commit is contained in:
parent
a4cf282070
commit
b4a9be0adc
|
@ -141,16 +141,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
|
|||
@Test
|
||||
public void testSelectFromEmbeddedField() {
|
||||
doInHibernate( this::sessionFactory, session -> {
|
||||
session.createNativeQuery( "select * from employee_embeddable_person_map" ).getResultList();
|
||||
session.createNativeQuery( "select * from employee_emb_person_map" ).getResultList();
|
||||
} );
|
||||
}
|
||||
|
||||
|
@ -140,16 +140,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