I have the code ResultSet.getTimeStamp(1)
in one servlet. Am using JDK 1.6 and Tomcat 6.
In my system its work fine.But in serv开发者_开发知识库er which have same configuration ResultSet.getTimestamp(1)
throws invalid column type. Can anybody help me?
Could be a jdbc driver problem. Make sure, that you have only the correct and latest drivers on your actual class path. Here's an external forum entry where exactly that was the issue.
精彩评论