NativeQueryResultTypeAutoDiscoveryTest#dateTimeTypes fail on Sybase with
java.lang.AssertionError:
Expected: an instance of java.sql.Date
but: <2014-11-15 00:00:00.0> is a com.sybase.jdbc4.tds.SybTimestamp
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:964)
at org.junit.Assert.assertThat(Assert.java:930)
at org.hibernate.orm.test.jpa.query.NativeQueryResultTypeAutoDiscoveryTest.lambda$doTest$6(NativeQueryResultTypeAutoDiscoveryTest.java:354)
at org.hibernate.testing.transaction.TransactionUtil.doInJPA(TransactionUtil.java:258)
at org.hibernate.testing.transaction.TransactionUtil.doInJPA(TransactionUtil.java:299)
at org.hibernate.orm.test.jpa.query.NativeQueryResultTypeAutoDiscoveryTest.doTest(NativeQueryResultTypeAutoDiscoveryTest.java:347)
at org.hibernate.orm.test.jpa.query.NativeQueryResultTypeAutoDiscoveryTest.doTest(NativeQueryResultTypeAutoDiscoveryTest.java:322)
at org.hibernate.orm.test.jpa.query.NativeQueryResultTypeAutoDiscoveryTest.dateTimeTypes(NativeQueryResultTypeAutoDiscoveryTest.java:301
Perhaps there might be some type conversion or test should be skipped on Sybase (as it is already on Oracle and EDB)?