开发者

ResultSet.getTimeStamp(1) is not work in some systems

开发者 https://www.devze.com 2023-03-02 10:44 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消