开发者

Issues with h2 upgrade to 1.2.147 - getNString exception

I have recently upgraded to h2 1.2.147. My code throws an exception - Caused by: java.lang.AbstractMethodError: org.h2.jdbc.JdbcResultSet.getNString(Ljava/lang/String;)Ljava/lang/String;

Any idea?

Thanks,开发者_如何学Python Anuprit


Sounds like your .jar file was not compiled with support for Java6 (i.e. JDBC4)

There is a pre-processor directive in the source code that only compiles that method when you compile it with Java6

Try re-building it with Java6, then the method should be there

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜