|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.cfg.reveng.JDBCReader
public class JDBCReader
| Constructor Summary | |
|---|---|
JDBCReader(MetaDataDialect dialect,
org.hibernate.connection.ConnectionProvider provider,
org.hibernate.exception.SQLExceptionConverter sec,
String defaultCatalog,
String defaultSchema,
ReverseEngineeringStrategy reveng)
|
|
| Method Summary | |
|---|---|
protected String |
getCatalogForDBLookup(String catalog)
|
protected String |
getCatalogForModel(String catalog)
If catalog is equal to defaultCatalog then we return null so it will be null in the generated code. |
protected String |
getSchemaForDBLookup(String schema)
|
protected String |
getSchemaForModel(String schema)
If catalog is equal to defaultSchema then we return null so it will be null in the generated code. |
protected org.hibernate.cfg.reveng.JDBCReader.ForeignKeysInfo |
processForeignKeys(DatabaseCollector dbs,
org.hibernate.mapping.Table referencedTable,
ProgressListener progress)
|
List |
readDatabaseSchema(DatabaseCollector dbs,
String catalog,
String schema)
|
List |
readDatabaseSchema(DatabaseCollector dbs,
String catalog,
String schema,
ProgressListener progress)
|
Set |
readSequences(String sql)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDBCReader(MetaDataDialect dialect,
org.hibernate.connection.ConnectionProvider provider,
org.hibernate.exception.SQLExceptionConverter sec,
String defaultCatalog,
String defaultSchema,
ReverseEngineeringStrategy reveng)
| Method Detail |
|---|
public List readDatabaseSchema(DatabaseCollector dbs,
String catalog,
String schema,
ProgressListener progress)
protected org.hibernate.cfg.reveng.JDBCReader.ForeignKeysInfo processForeignKeys(DatabaseCollector dbs,
org.hibernate.mapping.Table referencedTable,
ProgressListener progress)
throws JDBCBinderException
JDBCBinderException
public List readDatabaseSchema(DatabaseCollector dbs,
String catalog,
String schema)
protected String getCatalogForModel(String catalog)
protected String getSchemaForModel(String schema)
protected String getCatalogForDBLookup(String catalog)
protected String getSchemaForDBLookup(String schema)
public Set readSequences(String sql)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||