diff --git a/hibernate-community-dialects/hibernate-community-dialects.gradle b/hibernate-community-dialects/hibernate-community-dialects.gradle index 226d253489..aa5b903582 100644 --- a/hibernate-community-dialects/hibernate-community-dialects.gradle +++ b/hibernate-community-dialects/hibernate-community-dialects.gradle @@ -15,3 +15,7 @@ dependencies { testImplementation project( ':hibernate-testing' ) testImplementation project( path: ':hibernate-core', configuration: 'tests' ) } + +test { + include '**/**' +} \ No newline at end of file diff --git a/hibernate-community-dialects/src/test/java/org/hibernate/community/dialect/InformixDialectTestCase.java b/hibernate-community-dialects/src/test/java/org/hibernate/community/dialect/InformixDialectTestCase.java index 1103f189d0..ab091c3cdd 100644 --- a/hibernate-community-dialects/src/test/java/org/hibernate/community/dialect/InformixDialectTestCase.java +++ b/hibernate-community-dialects/src/test/java/org/hibernate/community/dialect/InformixDialectTestCase.java @@ -20,6 +20,8 @@ import org.hibernate.service.ServiceRegistry; import org.hibernate.sql.ast.spi.SqlAppender; import org.hibernate.type.BasicType; import org.hibernate.type.descriptor.java.DateJavaTypeDescriptor; +import org.hibernate.type.descriptor.java.JdbcDateJavaTypeDescriptor; +import org.hibernate.type.descriptor.java.JdbcTimestampJavaTypeDescriptor; import org.hibernate.type.descriptor.jdbc.DateJdbcType; import org.hibernate.type.descriptor.jdbc.TimestampJdbcType; import org.hibernate.type.spi.TypeConfiguration; @@ -92,7 +94,7 @@ public class InformixDialectTestCase extends BaseUnitTestCase { new TypeConfiguration() ); BasicType basicType = (BasicType) sqmExpression.getNodeType(); - assertEquals( DateJavaTypeDescriptor.INSTANCE, basicType.getJavaTypeDescriptor() ); + assertEquals( JdbcTimestampJavaTypeDescriptor.INSTANCE, basicType.getJavaTypeDescriptor() ); assertEquals( TimestampJdbcType.INSTANCE, basicType.getJdbcTypeDescriptor() ); SqlAppender appender = new StringBuilderSqlAppender(); @@ -111,7 +113,7 @@ public class InformixDialectTestCase extends BaseUnitTestCase { new TypeConfiguration() ); BasicType basicType = (BasicType) sqmExpression.getNodeType(); - assertEquals( DateJavaTypeDescriptor.INSTANCE, basicType.getJavaTypeDescriptor() ); + assertEquals( JdbcDateJavaTypeDescriptor.INSTANCE, basicType.getJavaTypeDescriptor() ); assertEquals( DateJdbcType.INSTANCE, basicType.getJdbcTypeDescriptor() ); SqlAppender appender = new StringBuilderSqlAppender();