}
return list.toArray(new ModuleInfo[list.size()]);
}
public StartDay getStartDay(){
String sql = "SELECT startday FROM start_day";
StartDay startDay = null;
Statement stmt=null;
try {
Connection conn = DriverManager.getConnection(url, username, password);
stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(sql);
if(rs.next()){
startDay = new StartDay();
startDay.setStartDay(rs.getString(1));
}
LOG.info(stmt.toString());
stmt.close();
conn.close();
} catch (SQLException e) {