public void insertList(List<Student> list) {
int insertLength = list.size();
int i = 0;
while (insertLength > 600) {
dao.insertList(list.subList(i, i + 600));
i = i + 600;
insertLength = insertLength - 600;
}
if (insertLength > 0) {
dao.insertList(list.subList(i, i + insertLength));
}
}