HHH-11634 : Change test to reproduce issue
This commit is contained in:
parent
06b105e100
commit
f1eb8672d7
|
@ -61,12 +61,13 @@ public class InsertOrderingDuplicateTest
|
||||||
Session session = openSession();
|
Session session = openSession();
|
||||||
session.getTransaction().begin();
|
session.getTransaction().begin();
|
||||||
{
|
{
|
||||||
|
SaleDocumentItem saleDocumentItem = new SaleDocumentItem();
|
||||||
|
session.persist( saleDocumentItem );
|
||||||
|
|
||||||
SaleDocumentSummary saleDocumentsummary = new SaleDocumentSummary();
|
SaleDocumentSummary saleDocumentsummary = new SaleDocumentSummary();
|
||||||
session.persist(saleDocumentsummary );
|
session.persist(saleDocumentsummary );
|
||||||
|
|
||||||
SaleDocumentItem saleDocumentItem = new SaleDocumentItem();
|
|
||||||
saleDocumentsummary.addItem( saleDocumentItem );
|
saleDocumentsummary.addItem( saleDocumentItem );
|
||||||
session.persist( saleDocumentItem );
|
|
||||||
|
|
||||||
Product product = new Product();
|
Product product = new Product();
|
||||||
session.persist(product);
|
session.persist(product);
|
||||||
|
|
Loading…
Reference in New Issue