File tree Expand file tree Collapse file tree
hibernate-core/src/test/java/org/hibernate/orm/test/hql Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77import jakarta .persistence .*;
88import org .hibernate .cfg .AvailableSettings ;
9+ import org .hibernate .dialect .H2Dialect ;
910import org .hibernate .testing .orm .junit .DomainModel ;
1011import org .hibernate .testing .orm .junit .JiraKey ;
12+ import org .hibernate .testing .orm .junit .RequiresDialect ;
1113import org .hibernate .testing .orm .junit .ServiceRegistry ;
1214import org .hibernate .testing .orm .junit .SessionFactory ;
1315import org .hibernate .testing .orm .junit .SessionFactoryScope ;
1921import static org .junit .jupiter .api .Assertions .assertTrue ;
2022
2123
22- @ DomainModel (annotatedClasses = LocalDateTimeMaxFunctionTest .Foo .class )
24+ @ DomainModel (annotatedClasses = JavaTimeMinMaxFunctionTest .Foo .class )
2325@ ServiceRegistry (settings = {@ Setting (name = AvailableSettings .JAVA_TIME_USE_DIRECT_JDBC , value = "true" )})
2426@ SessionFactory
27+ @ RequiresDialect (H2Dialect .class )
2528@ JiraKey ( value = "HHH-20302" )
26- class LocalDateTimeMaxFunctionTest {
29+ public class JavaTimeMinMaxFunctionTest {
2730
2831 @ Test
2932 void maxMinFunctionsShouldWorkWithLocalDateTimeAndDirectJdbc (SessionFactoryScope scope ) {
You can’t perform that action at this time.
0 commit comments