| java.lang.Object jpersist.MetaData
MetaData | final public class MetaData (Code) | | This class provides database level metadata.
|
Inner Class :public class Table | |
Inner Class :class NullTable extends Table | |
Method Summary | |
public synchronized void | addTableNameMapping(String searchTableName, String returnTableName) Add a table mapping. | public String | getDatabaseUrl() | public String | getIdentifierQuoteString() | static MetaData | getMetaData(Connection connection) | public String | getSearchStringEscape() | public int | getStoresCase() | public Table | getTable(Connection connection, TableMapping tableMapper, ColumnMapping columnMapper, String catalogPattern, String schemaPattern, String tableName, Object object) | static synchronized MetaData | loadMetaData(Connection connection) | void | loadTableDetail(Connection connection, ColumnMapping columnMapper, Table table) | int | loadTables(Connection connection, String catalogPattern, String schemaPattern, String tablePattern) | static String | normalizeName(String name) | public void | setColumnPrefixesToStrip(Set stripColumnPrefixes) Set of prefixes to be stripped from column names to help in method to column name matching. | public void | setColumnSuffixesToStrip(Set stripColumnSuffixes) Set of suffixes to be stripped from column names to help in method to column name matching. | public void | setStrictClassTableMatching(boolean trueFalse) | public void | setStrictMethodColumnMatching(boolean trueFalse) | public void | setTablePrefixesToStrip(Set stripTablePrefixes) Set of prefixes to be stripped from table names to help in class to table name matching. | public void | setTableSuffixesToStrip(Set stripTableSuffixes) Set of suffixes to be stripped from table names to help in class to table name matching. | public void | setTableTypes(String[] tableTypes) | static String | stripName(String name, Set prefixes, Set suffixes) | public boolean | supportsGeneratedKeys() | public boolean | supportsSavepoints() | Table | tableScan(String catalogName, String schemaName, String tableName, boolean strictMatch) | synchronized Table | tableSearch(Connection connection, TableMapping tableMapper, String catalogPattern, String schemaPattern, String tableName, Object object) |
STORES_LOWERCASE | final public static int STORES_LOWERCASE(Code) | | |
STORES_MIXEDCASE | final public static int STORES_MIXEDCASE(Code) | | |
STORES_UNKNOWN | final public static int STORES_UNKNOWN(Code) | | |
STORES_UPPERCASE | final public static int STORES_UPPERCASE(Code) | | |
addTableNameMapping | public synchronized void addTableNameMapping(String searchTableName, String returnTableName)(Code) | | Add a table mapping.
Parameters: searchTableName - the name that should be matched Parameters: returnTableName - the actual table name in the database |
getIdentifierQuoteString | public String getIdentifierQuoteString()(Code) | | |
getSearchStringEscape | public String getSearchStringEscape()(Code) | | |
getStoresCase | public int getStoresCase()(Code) | | |
setColumnPrefixesToStrip | public void setColumnPrefixesToStrip(Set stripColumnPrefixes)(Code) | | Set of prefixes to be stripped from column names to help in method to column name matching.
Parameters: stripColumnPrefixes - a set of prefixes (Strings) |
setColumnSuffixesToStrip | public void setColumnSuffixesToStrip(Set stripColumnSuffixes)(Code) | | Set of suffixes to be stripped from column names to help in method to column name matching.
Parameters: stripColumnSuffixes - a set of suffixes (Strings) |
setStrictClassTableMatching | public void setStrictClassTableMatching(boolean trueFalse)(Code) | | |
setStrictMethodColumnMatching | public void setStrictMethodColumnMatching(boolean trueFalse)(Code) | | |
setTablePrefixesToStrip | public void setTablePrefixesToStrip(Set stripTablePrefixes)(Code) | | Set of prefixes to be stripped from table names to help in class to table name matching.
Parameters: stripTablePrefixes - a set of prefixes (Strings) |
setTableSuffixesToStrip | public void setTableSuffixesToStrip(Set stripTableSuffixes)(Code) | | Set of suffixes to be stripped from table names to help in class to table name matching.
Parameters: stripTableSuffixes - a set of suffixes (Strings) |
setTableTypes | public void setTableTypes(String[] tableTypes)(Code) | | |
supportsGeneratedKeys | public boolean supportsGeneratedKeys()(Code) | | |
supportsSavepoints | public boolean supportsSavepoints()(Code) | | |
|
|