@Test public void getCustomLockUpdateStatement() { customizeStatements(); assertEquals("UPDATE test.LOCK_TABLE SET MOMENT = 2", statements.getLockUpdateStatement(2)); }
public String getLockUpdateStatement(long moment) { if (lockUpdateStatement == null) { lockUpdateStatement = "UPDATE " + getFullLockTableName() + " SET MOMENT = " + moment; } return lockUpdateStatement; }
Statements { public String getLockUpdateStatement(long moment) { if (lockUpdateStatement == null) { lockUpdateStatement = "UPDATE " + getFullLockTableName() + " SET MOMENT = " + moment; } return lockUpdateStatement; } }
Statements { public String getLockUpdateStatement(long moment) { if (lockUpdateStatement == null) { lockUpdateStatement = "UPDATE " + getFullLockTableName() + " SET MOMENT = " + moment; } return lockUpdateStatement; }  }
Statements { public String getLockUpdateStatement(long moment) { if (lockUpdateStatement == null) { lockUpdateStatement = "UPDATE " + getFullLockTableName() + " SET MOMENT = " + moment; } return lockUpdateStatement; }  String[] getLockCreateSchemaStatements(long moment); void setLockCreateSchemaStatements(String[] lockCreateSchemaStatements); String getLockCreateStatement(); void setLockCreateStatement(String lockCreateStatement); String getLockUpdateStatement(long moment); void setLockUpdateStatement(String lockUpdateStatement); void setLockVerifySelectionNotEmptyStatement(String lockVerifySelectionNotEmptyStatement); String getLockVerifySelectionNotEmptyStatement(); String getFullLockTableName(); void setMomentColumnDataType(String momentColumnDataType); String getMomentColumnDataType(); String getNodeName(); void setNodeName(String nodeName); String getNodeColumnDataType(); void setNodeColumnDataType(String nodeColumnDataType); String getTablePrefix(); void setTablePrefix(String tablePrefix); String getTableName(); void setTableName(String tableName); }
Statements { public String getLockUpdateStatement(long moment) { if (lockUpdateStatement == null) { lockUpdateStatement = "UPDATE " + getFullLockTableName() + " SET MOMENT = " + moment; } return lockUpdateStatement; }  String[] getLockCreateSchemaStatements(long moment); void setLockCreateSchemaStatements(String[] lockCreateSchemaStatements); String getLockCreateStatement(); void setLockCreateStatement(String lockCreateStatement); String getLockUpdateStatement(long moment); void setLockUpdateStatement(String lockUpdateStatement); void setLockVerifySelectionNotEmptyStatement(String lockVerifySelectionNotEmptyStatement); String getLockVerifySelectionNotEmptyStatement(); String getFullLockTableName(); void setMomentColumnDataType(String momentColumnDataType); String getMomentColumnDataType(); String getNodeName(); void setNodeName(String nodeName); String getNodeColumnDataType(); void setNodeColumnDataType(String nodeColumnDataType); String getTablePrefix(); void setTablePrefix(String tablePrefix); String getTableName(); void setTableName(String tableName);  }