We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8de9ca0 commit 34dd9d1Copy full SHA for 34dd9d1
hibernate-core/src/test/java/org/hibernate/test/legacy/FooBarTest.java
@@ -485,7 +485,7 @@ public void testQuery() throws Exception {
485
// && !db.equals("weblogic") {
486
if ( !( getDialect() instanceof InterbaseDialect ) ) {
487
list = s.createQuery( "from Foo foo where ? = some elements(foo.component.importantDates)" )
488
- .setParameter( 0, new Date(), StandardBasicTypes.DATE )
+ .setParameter( 0, foo.getTimestamp(), StandardBasicTypes.DATE )
489
.list();
490
assertTrue( "component query", list.size()==2 );
491
}
0 commit comments