File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
hibernate-core/src/main/java/org/hibernate Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -405,8 +405,28 @@ public interface Query {
405
405
public Query setBigDecimal (String name , BigDecimal number );
406
406
public Query setBigInteger (String name , BigInteger number );
407
407
408
+ /**
409
+ * Bind the date (time is truncated) of a given Date object to a named query parameter.
410
+ *
411
+ * @param name The name of the parameter
412
+ * @param date The date object
413
+ */
408
414
public Query setDate (String name , Date date );
415
+
416
+ /**
417
+ * Bind the time (date is truncated) of a given Date object to a named query parameter.
418
+ *
419
+ * @param name The name of the parameter
420
+ * @param date The date object
421
+ */
409
422
public Query setTime (String name , Date date );
423
+
424
+ /**
425
+ * Bind the date and the time of a given Date object to a named query parameter.
426
+ *
427
+ * @param name The name of the parameter
428
+ * @param date The date object
429
+ */
410
430
public Query setTimestamp (String name , Date date );
411
431
412
432
public Query setCalendar (String name , Calendar calendar );
You can’t perform that action at this time.
0 commit comments