/**
* 生成ID
*/
private String generateID(){
List maxIdLT = (List)sqlExecutor.executeQuery("SELECT MAX(ID) AS MAX_ID FROM Messages");
DataObject maxIdDO = (DataObject)maxIdLT.iterator().next();
if(maxIdDO.get("MAX_ID")==null){
return "1";
}
return String.valueOf(Integer.parseInt(maxIdDO.get("MAX_ID"))+1);
}