#2619 - Lack of setNullParameter() functionality on io.ebean.SqlQuery interface

This commit is contained in:
Rob Bygrave
2022-03-29 22:41:36 +13:00
parent aa89df5f00
commit 4cad515110
4 changed files with 73 additions and 2 deletions
@@ -246,6 +246,16 @@ public interface SqlQuery extends Serializable, CancelableQuery {
*/
SqlQuery setParameter(Object value);
/**
* Set a null parameter by position.
*/
SqlQuery setNullParameter(int position, int jdbcType);
/**
* Set a null parameter by name.
*/
SqlQuery setNullParameter(String name, int jdbcType);
/**
* Bind the parameter by its index position (1 based like JDBC).
* <p>