DBPlugin: fixed for Java 1.7