public void service(ServletRequest request, ServletResponse response)
throws ServletException, IOException {
String time =(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"))format(new Date());
PrintWriter out = responsegetWriter();
outprintln("<html>");
outprintln("<body>");
outprintln("<h1>");
outprintln(time);
outprintln("</h1>");
outprintln("</body>");
outprintln("</html>");
}list = sessioncreateQuery("from Oprations as op where ophelpId='"+uid+"' and opnowMode='"+con+"'")list();
报错
orghibernateexceptionSQLGrammarException: could not execute query
重起一下试试
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)