Announcement Announcement Module
Collapse
No announcement yet.
java.lang.AbstractMethodError with mysql Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.lang.AbstractMethodError with mysql

    Hi,

    I am working a project with mysql, hibernate and springroo.

    I have a blob field in a class.

    when i run the integration test for that class, I get the following error:

    java.lang.AbstractMethodError: org.apache.commons.dbcp.DelegatingPreparedStatemen t.setBinaryStream(ILjava/io/InputStream;J)V
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.hibernate.engine.jdbc.internal.proxy.AbstractS tatementProxyHandler.continueInvocation(AbstractSt atementProxyHandler.java:122)
    at org.hibernate.engine.jdbc.internal.proxy.AbstractP roxyHandler.invoke(AbstractProxyHandler.java:81)
    at $Proxy36.setBinaryStream(Unknown Source)

    I heard that JDBC 4.0 compatibility is the issue.

    I am using Mysql 5.1.25 driver and Jre6, which are jdbc 4 compatible.
Working...
X