title: HTTP Status 500 - Request processing failed; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement
body: <p>I am use Spring + MVC + Hibernate.
  My error when insert by Hibernate.</p>
  
  <pre><code>@Transactional
  public Boolean DangKy(Account account) {
  
      Session session = sessionFactory.getCurrentSession();
  
      session.save(account);
      return true;
  }
  </code></pre>
  
  <p>my error:</p>
  
  <pre><code>org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement
  org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:948)
  org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
  org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
  org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
  </code></pre>
  
  <p>Thank for help.</p>