Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. An error occurred at line: 9 in the jsp file: /WEB-INF/jsp/LOYALTY.jsp
  2. Syntax error, insert ";" to complete LocalVariableDeclarationStatement
  3. 6: "where ia.SUBSCRIPTION_ITEM_ID=si.SUBSCRIPTION_ITEM_ID and mi.mi_id=si.dtl_MI_ID "+
  4. 7: "and ia.card_id=:cid"+
  5. 8: "and mi.code in (select dtl.mi_id from docs_dtl dtl where doc_id=:docid)"+
  6. 9: "group by mi.name1 ,mi.code"+"\n"
  7. 10: org.hibernate.Session dbSession1 = (org.hibernate.Session)request.getAttribute("dbSession");
  8. 11: org.hibernate.SQLQuery query1 = dbSession1.createSQLQuery(q);
  9. 12: query1.setMaxResults(2);
  10.  
  11.  
  12. An error occurred at line: 13 in the jsp file: /WEB-INF/jsp/LOYALTY.jsp
  13. STRING cannot be resolved or is not a field
  14. 10: org.hibernate.Session dbSession1 = (org.hibernate.Session)request.getAttribute("dbSession");
  15. 11: org.hibernate.SQLQuery query1 = dbSession1.createSQLQuery(q);
  16. 12: query1.setMaxResults(2);
  17. 13: query1.addScalar("LN", org.hibernate.Hibernate.STRING);
  18. 14: query.setInteger("cid", ((ru.hrs.lassd.club.vo.Card)request.getAttribute("card")).cardId);
  19. 15: query.setLong("docid", ((ru.hrs.lassd.club.scripting.DocInfo)request.getAttribute("docInfo")).getDoc().getId());
  20. 16: out.println(query1.list().get(0));%>
  21.  
  22.  
  23. An error occurred at line: 14 in the jsp file: /WEB-INF/jsp/LOYALTY.jsp
  24. query cannot be resolved
  25. 11: org.hibernate.SQLQuery query1 = dbSession1.createSQLQuery(q);
  26. 12: query1.setMaxResults(2);
  27. 13: query1.addScalar("LN", org.hibernate.Hibernate.STRING);
  28. 14: query.setInteger("cid", ((ru.hrs.lassd.club.vo.Card)request.getAttribute("card")).cardId);
  29. 15: query.setLong("docid", ((ru.hrs.lassd.club.scripting.DocInfo)request.getAttribute("docInfo")).getDoc().getId());
  30. 16: out.println(query1.list().get(0));%>
  31.  
  32.  
  33. An error occurred at line: 15 in the jsp file: /WEB-INF/jsp/LOYALTY.jsp
  34. query cannot be resolved
  35. 12: query1.setMaxResults(2);
  36. 13: query1.addScalar("LN", org.hibernate.Hibernate.STRING);
  37. 14: query.setInteger("cid", ((ru.hrs.lassd.club.vo.Card)request.getAttribute("card")).cardId);
  38. 15: query.setLong("docid", ((ru.hrs.lassd.club.scripting.DocInfo)request.getAttribute("docInfo")).getDoc().getId());
  39. 16: out.println(query1.list().get(0));%>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement