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.getTransaction().begin();
|
||||
{
|
||||
SaleDocumentItem saleDocumentItem = new SaleDocumentItem();
|
||||
session.persist( saleDocumentItem );
|
||||
|
||||
SaleDocumentSummary saleDocumentsummary = new SaleDocumentSummary();
|
||||
session.persist(saleDocumentsummary );
|
||||
|
||||
SaleDocumentItem saleDocumentItem = new SaleDocumentItem();
|
||||
saleDocumentsummary.addItem( saleDocumentItem );
|
||||
session.persist( saleDocumentItem );
|
||||
|
||||
Product product = new Product();
|
||||
session.persist(product);
|
||||
|
|
Loading…
Reference in New Issue