com.wakaleo.schemaspy.util
Class JDBCHelper
java.lang.Object
com.wakaleo.schemaspy.util.JDBCHelper
public 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
|
Constructor Summary |
JDBCHelper()
Creates a new instance of JDBCHelper. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCHelper
public JDBCHelper()
- Creates a new instance of JDBCHelper.
extractDatabaseType
public final 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
Copyright © 2007-2010. All Rights Reserved.