invoke by reflection to avoid compile error of new APIs from JDBC4.1