Announcement Announcement Module
Collapse
No announcement yet.
ExtendedConnectionDataSourceProxy Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ExtendedConnectionDataSourceProxy

    I've just updated from batch trunk and had a problem compiling ExtendedConnectionDataSourceProxy under JDK 6. The DataSource interface has extended Wrapper, which is a new interface in Java 6. These are not implemented in ExtendedConnectionDataSourceProxy. I added the following in order to get past the issue:

    Code:
    public boolean isWrapperFor(Class<?> iface) throws SQLException {
        return false;
    }
     
    public <T> T unwrap(Class<T> iface) throws SQLException {
        throw new SQLException("unwrap not supported");
    }
    Will these methods be implemented in the near future (at least stubbed out like above)?


    Regards,

    xylocore

  • #2
    Thanks for pointing out the problem, it's fixed now in trunk. http://jira.springframework.org/browse/BATCH-970 gives more details.

    Comment

    Working...
    X