HHH-10327 : Unit test failure on Oracle due to DATE mismatches
This commit is contained in:
parent
8de9ca0549
commit
34dd9d186b
|
@ -485,7 +485,7 @@ public class FooBarTest extends LegacyTestCase {
|
||||||
// && !db.equals("weblogic") {
|
// && !db.equals("weblogic") {
|
||||||
if ( !( getDialect() instanceof InterbaseDialect ) ) {
|
if ( !( getDialect() instanceof InterbaseDialect ) ) {
|
||||||
list = s.createQuery( "from Foo foo where ? = some elements(foo.component.importantDates)" )
|
list = s.createQuery( "from Foo foo where ? = some elements(foo.component.importantDates)" )
|
||||||
.setParameter( 0, new Date(), StandardBasicTypes.DATE )
|
.setParameter( 0, foo.getTimestamp(), StandardBasicTypes.DATE )
|
||||||
.list();
|
.list();
|
||||||
assertTrue( "component query", list.size()==2 );
|
assertTrue( "component query", list.size()==2 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue