Advertisement
Guest User

Untitled

a guest
Oct 7th, 2016
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. There was an unexpected error (type=Internal Server Error, status=500).
  2. could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  3.  
  4. db.driver: org.postgresql.Driver
  5. db.url: jdbc:postgresql://localhost:5432/dbName
  6. db.username: dbUsername
  7. db.password: password4321
  8. hibernate.dialect: org.hibernate.dialect.PostgreSQL9Dialect
  9. hibernate.show_sql: true
  10. hibernate.hbm2ddl.auto: update
  11.  
  12. @RequestMapping(value = "/login", method = RequestMethod.POST)
  13. public ModelAndView authenticateLogin(HttpServletRequest request,
  14. HttpServletResponse response,
  15. @RequestParam String email,
  16. @RequestParam String password) {
  17.  
  18. if(null == request.getSession().getAttribute(data))
  19. {
  20.  
  21. //fetch the list of logins
  22. List add = _loginDao.getAllUsernameByEmail(email);
  23. //fetch the list of support password
  24. List passList = _loginDao.getAllUserPassword(password);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement