Class JDBCHelper

java.lang.Object
com.wakaleo.schemaspy.util.JDBCHelper

public final class JDBCHelper extends Object
A utilities class for the SchemaSpy plugin. Tries to guess the right SchemaSpy database type configuration value using a JDBC URL.
Author:
john
  • Method Details

    • extractDatabaseType

      public static String extractDatabaseType(String jdbcUrl)
      Find the matching SchemaSpy database type from a JDBC URL. If none match, null is returned.
      Parameters:
      jdbcUrl - a valid JDBC url for the target database
      Returns:
      the type of the database for this JDBC URL