When we moved from a Tomcat 7, Oracle 11, Java 7 environment to a Tomcat 8, Oracle 12, Java 8 environment. My web application started to have problems. The application will run just fine for a certain amount of time and then the hibernate calls will get "invalid column index" errors. I'm using Hibernate 3. The code is still compiled as Java 1.7.
The application was running just fine in the old environment.
The logging for the Tomcat sever indicates that Hibernate is counting the number of parameters that need to be set incorrectly, and in most cases is coming up with a very large negative number (the same negative number) or it's coming up with the same positive number which is a 2.
|