When running my app im getting the following error. My program is trying to save a form bean to a table.
Code:
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL []; SQL state [08000]; error code [-80]; socket creation error; nested exception is java.sql.SQLException: socket creation error
org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:97)
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:258)
org.springframework.orm.hibernate.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:364)
org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:351)
org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:369)
org.springframework.orm.hibernate.HibernateTemplate.update(HibernateTemplate.java:576)
org.springframework.orm.hibernate.HibernateTemplate.update(HibernateTemplate.java:572)
src.db.PhotoDaoHib.addPhotoinfo(PhotoDaoHib.java:21)