CAY-1706 Build support on JDK 1.7 second patch by Andrei Veprev - hiding JDBC differences between the JDK versions