mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2690 - Refactor internals, tidy SaveManyBeans
- Introduce hasOrderColumn field - Add clearedParent flag to only clear the parent bean from persistence context once (not per detail bean)
This commit is contained in:
@@ -10,10 +10,10 @@ import java.util.List;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
public class TestOrderColumn extends TransactionalTestCase {
|
||||
class TestOrderColumn extends TransactionalTestCase {
|
||||
|
||||
@Test
|
||||
public void testOrderColumnInheritance() {
|
||||
void testOrderColumnInheritance() {
|
||||
final OrderMaster master = new OrderMaster();
|
||||
|
||||
for (int i = 0; i < 5; i++) {
|
||||
@@ -33,7 +33,7 @@ public class TestOrderColumn extends TransactionalTestCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testOrderColumnSortChange() {
|
||||
void testOrderColumnSortChange() {
|
||||
final OrderMaster master = new OrderMaster();
|
||||
|
||||
for (int i = 0; i < 5; i++) {
|
||||
@@ -62,7 +62,7 @@ public class TestOrderColumn extends TransactionalTestCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testModifyTree() {
|
||||
void testModifyTree() {
|
||||
final OrderMaster master = new OrderMaster();
|
||||
|
||||
for (int i = 0; i < 5; i++) {
|
||||
@@ -108,7 +108,7 @@ public class TestOrderColumn extends TransactionalTestCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRemoveElement() {
|
||||
void testRemoveElement() {
|
||||
final OrderMaster master = new OrderMaster();
|
||||
|
||||
for (int i = 0; i < 5; i++) {
|
||||
|
||||
Reference in New Issue
Block a user