File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test/collection/stale Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 99import jakarta .persistence .GeneratedValue ;
1010import jakarta .persistence .Id ;
1111import jakarta .persistence .OrderColumn ;
12+ import org .hibernate .dialect .MariaDBDialect ;
1213import org .hibernate .testing .orm .junit .EntityManagerFactoryScope ;
1314import org .hibernate .testing .orm .junit .Jpa ;
1415import org .hibernate .testing .orm .junit .Setting ;
16+ import org .hibernate .testing .orm .junit .SkipForDialect ;
1517import org .junit .jupiter .api .Test ;
1618
1719import java .util .ArrayList ;
2123
2224@ Jpa (annotatedClasses = StaleListTest .StaleListTestEntity .class ,
2325 properties = @ Setting (name = STATEMENT_BATCH_SIZE , value = "5" ))
26+ @ SkipForDialect (dialectClass = MariaDBDialect .class )
2427public class StaleListTest {
2528 @ Test void test1 (EntityManagerFactoryScope scope ) {
2629 var entity = new StaleListTestEntity ();
Original file line number Diff line number Diff line change 88import jakarta .persistence .Entity ;
99import jakarta .persistence .GeneratedValue ;
1010import jakarta .persistence .Id ;
11+ import org .hibernate .dialect .MariaDBDialect ;
1112import org .hibernate .testing .orm .junit .EntityManagerFactoryScope ;
1213import org .hibernate .testing .orm .junit .Jpa ;
1314import org .hibernate .testing .orm .junit .Setting ;
15+ import org .hibernate .testing .orm .junit .SkipForDialect ;
1416import org .junit .jupiter .api .Test ;
1517
1618import java .util .HashMap ;
2022
2123@ Jpa (annotatedClasses = StaleMapTest .StaleMapTestEntity .class ,
2224 properties = @ Setting (name = STATEMENT_BATCH_SIZE , value = "5" ))
25+ @ SkipForDialect (dialectClass = MariaDBDialect .class )
2326public class StaleMapTest {
2427 @ Test void test1 (EntityManagerFactoryScope scope ) {
2528 var entity = new StaleMapTestEntity ();
Original file line number Diff line number Diff line change 1010import jakarta .persistence .Id ;
1111import jakarta .persistence .OneToMany ;
1212import jakarta .persistence .OrderColumn ;
13+ import org .hibernate .dialect .MariaDBDialect ;
1314import org .hibernate .testing .orm .junit .EntityManagerFactoryScope ;
1415import org .hibernate .testing .orm .junit .FailureExpected ;
1516import org .hibernate .testing .orm .junit .Jpa ;
1617import org .hibernate .testing .orm .junit .Setting ;
18+ import org .hibernate .testing .orm .junit .SkipForDialect ;
1719import org .junit .jupiter .api .Test ;
1820
1921import java .util .ArrayList ;
2426@ Jpa (annotatedClasses = {StaleOneToManyListTest .StaleListTestParent .class ,
2527 StaleOneToManyListTest .StaleListTestChild .class },
2628 properties = @ Setting (name = STATEMENT_BATCH_SIZE , value = "5" ))
29+ @ SkipForDialect (dialectClass = MariaDBDialect .class )
2730public class StaleOneToManyListTest {
2831 @ Test void test1 (EntityManagerFactoryScope scope ) {
2932 var entity = new StaleListTestParent ();
Original file line number Diff line number Diff line change 77import jakarta .persistence .ElementCollection ;
88import jakarta .persistence .Entity ;
99import jakarta .persistence .Id ;
10+ import org .hibernate .dialect .MariaDBDialect ;
1011import org .hibernate .testing .orm .junit .EntityManagerFactoryScope ;
1112import org .hibernate .testing .orm .junit .Jpa ;
1213import org .hibernate .testing .orm .junit .Setting ;
14+ import org .hibernate .testing .orm .junit .SkipForDialect ;
1315import org .junit .jupiter .api .Test ;
1416
1517import java .util .HashSet ;
1921
2022@ Jpa (annotatedClasses = StaleSetTest .StaleSetTestEntity .class ,
2123 properties = @ Setting (name = STATEMENT_BATCH_SIZE , value = "5" ))
24+ @ SkipForDialect (dialectClass = MariaDBDialect .class )
2225public class StaleSetTest {
2326 @ Test void test (EntityManagerFactoryScope scope ) {
2427 var entity = new StaleSetTestEntity ();
You can’t perform that action at this time.
0 commit comments