We have a basic application which inserts data to an Oracle DB using hibernate. The application itself is working on jboss 7.1.1 , java se 7, depends on hibernate 3.5.6.
However when we move the application to wildfly 1.0.0 or 9.0.2, java se 8, the insert is getting the exception below
14:22:12,224 ERROR [com.enk.ne.frontend.ws.NotificationEngineWsInputImpl] Error in processing CreateProvisiningBaseServiceImpl: org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access: SQLException for SQL [insert into NE_NOTIFICATION_INPUT (CREATION_DATE, FILE_NAME, INPUT_TYPE, INPUT_ID) values (?, ?, 'FE', ?)]; SQL state [99999]; error code [17003]; could not insert: [com.enk.ne.db.model.FeInput]; nested exception is org.hibernate.exception.GenericJDBCException: could not insert: [com.enk.ne.db.model.FeInput].
What could be the reason for this ? Any ideas ? the functionality works correctly when app is deployed to JBoss 7.1.1 Final.