public class DatabaseUtil extends Object
Modifier and Type | Method and Description |
---|---|
static DatabaseType |
determineType(DatabaseMetaData metaData)
Determine the type of a database, based on the metadata information from the DB metadata.
|
public static DatabaseType determineType(DatabaseMetaData metaData) throws SQLException
metaData
- a DatabaseMetaData
instance, may not be nullDatabaseType
instance, never nullSQLException
- if a database access error occurs
or this method is called on a closed connectionCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.