HHH-10327 : Unit test failure on Oracle due to DATE mismatches
(cherry picked from commit 34dd9d186b
)
This commit is contained in:
parent
c3ffe16ff0
commit
8552b84ae5
|
@ -485,7 +485,7 @@ public class FooBarTest extends LegacyTestCase {
|
|||
// && !db.equals("weblogic") {
|
||||
if ( !( getDialect() instanceof InterbaseDialect ) ) {
|
||||
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();
|
||||
assertTrue( "component query", list.size()==2 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue