fix jdbc compile error under JDK7