Results 1 to 2 of 2

Thread: ExtendedConnectionDataSourceProxy

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    3

    Default 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. #2

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •