-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Invalid column index error, Hibernate 3, Tomcat 8, Java 7
PostPosted: Wed Jan 18, 2017 8:49 pm 
Newbie

Joined: Wed Jan 18, 2017 8:37 pm
Posts: 3
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.


Top
 Profile  
 
 Post subject: Re: Invalid column index error, Hibernate 3, Tomcat 8, Java 7
PostPosted: Thu Jan 19, 2017 4:48 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1630
Location: Romania
Hibernate 3 is a very old release that was meant to work with old environments too.

Neither Hibernate 3 or 4 are in development, so, if you want to upgrade your environment, you should upgrade Hibernate as well, to version 5 which is in development now. The advantage is that bugs will be fixed for this version, and you also get a lot of new features as a bonus.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.