Configurations.free(conn);
}
return tbDirectoryList;
}
public TbDirectory getTbDirectory(ResultSet rs) throws Exception{
TbDirectory tbDirectory = new TbDirectory();
tbDirectory.setDirectoryId(rs.getInt("directoryId"));
tbDirectory.setDirectoryName(rs.getString("directoryName"));
tbDirectory.setDirectoryLevel(rs.getInt("directoryLevel"));
tbDirectory.setParentDirectoryId(rs.getInt("parentDirectoryId"));
tbDirectory.setUserId(rs.getString("userId"));
tbDirectory.setCreateTime(rs.getString("createTime"));
tbDirectory.setDirectoryId(rs.getInt("directoryId"));
tbDirectory.setDirectoryName(rs.getString("directoryName"));
tbDirectory.setDirectoryLevel(rs.getInt("directoryLevel"));
tbDirectory.setParentDirectoryId(rs.getInt("parentDirectoryId"));
tbDirectory.setUserId(rs.getString("userId"));
tbDirectory.setCreateTime(rs.getString("createTime"));
return tbDirectory;
}