|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.cfg.reveng.dialect.CachedMetaDataDialect
public class CachedMetaDataDialect
Constructor Summary | |
---|---|
CachedMetaDataDialect(MetaDataDialect realMetaData)
|
Method Summary | |
---|---|
void |
close()
Close any resources this dialect might have used. |
void |
close(Iterator iterator)
Close the iterator. |
void |
configure(ReverseEngineeringRuntimeInfo info)
Configure the metadatadialect. |
Iterator |
getColumns(String catalog,
String schema,
String table,
String column)
Return iterator over the columns that mathces catalog, schema and table |
Iterator |
getExportedKeys(String catalog,
String schema,
String table)
Return iterator over the exported foreign keys that mathces catalog, schema and table |
Iterator |
getIndexInfo(String catalog,
String schema,
String table)
Return iterator over the indexes that mathces catalog, schema and table |
Iterator |
getPrimaryKeys(String catalog,
String schema,
String name)
Return iterator over the columns that mathces catalog, schema and table |
Iterator |
getSuggestedPrimaryKeyStrategyName(String catalog,
String schema,
String table)
Use database (possible native) metadata to suggest identifier strategy. |
Iterator |
getTables(String catalog,
String schema,
String table)
Return iterator over the tables that mathces catalog, schema and table |
boolean |
needQuote(String name)
Does this name need quoting |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedMetaDataDialect(MetaDataDialect realMetaData)
Method Detail |
---|
public void close()
MetaDataDialect
close
in interface MetaDataDialect
public void configure(ReverseEngineeringRuntimeInfo info)
MetaDataDialect
configure
in interface MetaDataDialect
info
- a ReverseEngineeringRuntimeInfo
to extract Connection and SQLExceptionConverter and other runtime infopublic void close(Iterator iterator)
MetaDataDialect
close
in interface MetaDataDialect
iterator
- an iterator returned from one of methods on this dialectpublic Iterator getColumns(String catalog, String schema, String table, String column)
MetaDataDialect
getColumns
in interface MetaDataDialect
catalog
- name or nullschema
- name or nulltable
- name or nullcolumn
- name or null
public Iterator getExportedKeys(String catalog, String schema, String table)
MetaDataDialect
getExportedKeys
in interface MetaDataDialect
catalog
- name or nullschema
- name or nulltable
- name or null
public Iterator getIndexInfo(String catalog, String schema, String table)
MetaDataDialect
getIndexInfo
in interface MetaDataDialect
catalog
- name or nullschema
- name or nulltable
- name or null
public Iterator getPrimaryKeys(String catalog, String schema, String name)
MetaDataDialect
getPrimaryKeys
in interface MetaDataDialect
catalog
- name or nullschema
- name or null
public Iterator getTables(String catalog, String schema, String table)
MetaDataDialect
getTables
in interface MetaDataDialect
catalog
- name or nullschema
- name or nulltable
- name or null
public Iterator getSuggestedPrimaryKeyStrategyName(String catalog, String schema, String table)
MetaDataDialect
getSuggestedPrimaryKeyStrategyName
in interface MetaDataDialect
public boolean needQuote(String name)
MetaDataDialect
needQuote
in interface MetaDataDialect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |