org.mentabean.sql.param.ParamValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of menta-bean Show documentation
Show all versions of menta-bean Show documentation
An query helper and simple CRUD ORM.
package org.mentabean.sql.param;
public class ParamValue implements Param {
private Object value;
public ParamValue(Object value) {
this.value = value;
}
@Override
public String paramInQuery() {
return "?";
}
@Override
public Object[] values() {
return new Object[] {value};
}
}