|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.cfg.reveng.dialect.AbstractMetaDataDialect
public abstract class AbstractMetaDataDialect
abstract base class for the metadatadialects to hold the basic setup classes.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
|---|---|
AbstractMetaDataDialect()
|
|
| Method Summary | |
|---|---|
protected String |
caseForSearch(String value)
|
void |
close()
Close any resources this dialect might have used. |
void |
close(Iterator iterator)
Close the iterator. |
void |
configure(ReverseEngineeringRuntimeInfo info)
Configure the metadatadialect. |
protected Connection |
getConnection()
|
protected String |
getDatabaseStructure(String catalog,
String schema)
|
protected DatabaseMetaData |
getMetaData()
|
ReverseEngineeringRuntimeInfo |
getReverseEngineeringRuntimeInfo()
|
protected org.hibernate.exception.SQLExceptionConverter |
getSQLExceptionConverter()
|
Iterator |
getSuggestedPrimaryKeyStrategyName(String catalog,
String schema,
String table)
Use database (possible native) metadata to suggest identifier strategy. |
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 |
| Methods inherited from interface org.hibernate.cfg.reveng.dialect.MetaDataDialect |
|---|
getColumns, getExportedKeys, getIndexInfo, getPrimaryKeys, getTables |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public AbstractMetaDataDialect()
| Method Detail |
|---|
public void configure(ReverseEngineeringRuntimeInfo info)
MetaDataDialect
configure in interface MetaDataDialectinfo - a ReverseEngineeringRuntimeInfo to extract Connection and SQLExceptionConverter and other runtime infopublic void close()
MetaDataDialect
close in interface MetaDataDialect
protected DatabaseMetaData getMetaData()
throws JDBCBinderException
JDBCBinderException
protected String getDatabaseStructure(String catalog,
String schema)
protected Connection getConnection()
throws SQLException
SQLExceptionpublic ReverseEngineeringRuntimeInfo getReverseEngineeringRuntimeInfo()
public void close(Iterator iterator)
MetaDataDialect
close in interface MetaDataDialectiterator - an iterator returned from one of methods on this dialectprotected org.hibernate.exception.SQLExceptionConverter getSQLExceptionConverter()
public boolean needQuote(String name)
MetaDataDialect
needQuote in interface MetaDataDialect
protected String caseForSearch(String value)
throws SQLException
SQLException
public Iterator getSuggestedPrimaryKeyStrategyName(String catalog,
String schema,
String table)
MetaDataDialect
getSuggestedPrimaryKeyStrategyName in interface MetaDataDialect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||