minor, use new API.
This commit is contained in:
parent
d5556b951b
commit
3d55c83dd0
|
@ -355,9 +355,9 @@ public class MAttributeSetInstance extends X_M_AttributeSetInstance
|
||||||
{
|
{
|
||||||
this.set_ValueNoCheck("Description", Integer.toString(getM_AttributeSetInstance_ID()));
|
this.set_ValueNoCheck("Description", Integer.toString(getM_AttributeSetInstance_ID()));
|
||||||
String sql = "UPDATE M_AttributeSetInstance SET Description = ? WHERE M_AttributeSetInstance_ID = ?";
|
String sql = "UPDATE M_AttributeSetInstance SET Description = ? WHERE M_AttributeSetInstance_ID = ?";
|
||||||
int no = DB.executeUpdate(sql,
|
int no = DB.executeUpdateEx(sql,
|
||||||
new Object[]{Integer.toString(getM_AttributeSetInstance_ID()), getM_AttributeSetInstance_ID()},
|
new Object[]{Integer.toString(getM_AttributeSetInstance_ID()), getM_AttributeSetInstance_ID()},
|
||||||
false, get_TrxName());
|
get_TrxName());
|
||||||
if (no <= 0)
|
if (no <= 0)
|
||||||
{
|
{
|
||||||
log.log(Level.SEVERE, "Failed to update description.");
|
log.log(Level.SEVERE, "Failed to update description.");
|
||||||
|
|
Loading…
Reference in New Issue