public String delete() throws SQLException{
student=(Student)DataStudent.getRowData();
sManager.DelStudent(student.getId());
List list=sManager.GetStudent();
DataStudent.setWrappedData(list);
return null;
}
sManager.DelStudent(student.getId());为什么执行到这会出错阿,
javax.servlet.ServletException: #{DataOperAct.delete}: javax.faces.el.EvaluationException: org.postgresql.util.PSQLException: ERROR: syntax error at or near "del"
javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
是我的DleStudent方法有错误么