Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- There was an unexpected error (type=Internal Server Error, status=500).
- could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
- db.driver: org.postgresql.Driver
- db.url: jdbc:postgresql://localhost:5432/dbName
- db.username: dbUsername
- db.password: password4321
- hibernate.dialect: org.hibernate.dialect.PostgreSQL9Dialect
- hibernate.show_sql: true
- hibernate.hbm2ddl.auto: update
- @RequestMapping(value = "/login", method = RequestMethod.POST)
- public ModelAndView authenticateLogin(HttpServletRequest request,
- HttpServletResponse response,
- @RequestParam String email,
- @RequestParam String password) {
- if(null == request.getSession().getAttribute(data))
- {
- //fetch the list of logins
- List add = _loginDao.getAllUsernameByEmail(email);
- //fetch the list of support password
- List passList = _loginDao.getAllUserPassword(password);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement