public static boolean isJdbcPackage(String packageName){
  return packageName != null && (packageName.startsWith("java.sql") || packageName.startsWith("javax.sql") || packageName.startsWith(MYSQL_JDBC_PACKAGE_ROOT));
}

public static boolean isJdbcPackage ( String packageName ) { return packageName != null && ( packageName . startsWith ( "java.sql" ) || packageName . startsWith ( "javax.sql" ) || packageName . startsWith ( MYSQL_JDBC_PACKAGE_ROOT ) ) ; }
check if the package name is a known jdbc package .
