开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜