Package org.alfresco.util
Class DatabaseMetaDataHelper
- java.lang.Object
-
- org.alfresco.util.DatabaseMetaDataHelper
-
public class DatabaseMetaDataHelper extends Object
Helper class to collect all of our DatabaseMetaData interpretations in one place.- Author:
- sfrensley
-
-
Constructor Summary
Constructors Constructor Description DatabaseMetaDataHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSchema(Connection connection)Tries to determine the schema name from the DatabaseMetaData obtained from the Connection.
-
-
-
Method Detail
-
getSchema
public String getSchema(Connection connection)
Tries to determine the schema name from the DatabaseMetaData obtained from the Connection.- Parameters:
connection- A database connection- Returns:
- String
-
-