- Inserting new record to a database ... HQL (INSERT INTO .....SELECT ....)
javax.servlet.ServletException: org.hibernate.QueryException: query must begin with SELECT or FROM:
INSERT [INSERT INTO Usertbl (uemail,upword,upwordQue,upwordAns,ufirstName,ulastName,udob,uaddress,uname,usex)
SELECT abeshaz@gmail.com','123','what','why','zelalem','Mihret',1680-06-25,'addis','zolla','male from UserForm ]
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
No comments:
Post a Comment