public class OracleJdbcSqlMetaFactory extends Object implements SqlMetaFactory
| Constructor and Description |
|---|
OracleJdbcSqlMetaFactory(JdbcDatabase aDatabase)
create an instance
|
| Modifier and Type | Method and Description |
|---|---|
CatalogDescription |
buildCatalog()
load the catalog for ALL USER_TABLES!
|
CatalogDescription |
buildCatalog(String[] tables)
create a CatalogDescription
|
JdbcDatabase |
getDatabase() |
boolean |
isColumns() |
boolean |
isComments() |
boolean |
isForeignKeys() |
boolean |
isIndices() |
boolean |
isPrimaryKeys() |
boolean |
isSequences() |
void |
setColumns(boolean aColumns) |
void |
setComments(boolean aComments) |
void |
setForeignKeys(boolean aForeignKeys) |
void |
setIndices(boolean aIndices) |
void |
setPrimaryKeys(boolean aPrimaryKeys) |
void |
setSequences(boolean aSequences) |
public OracleJdbcSqlMetaFactory(JdbcDatabase aDatabase)
aDatabase - - to get the database connection from (no mappings required)public boolean isSequences()
public void setSequences(boolean aSequences)
public boolean isIndices()
public void setIndices(boolean aIndices)
public boolean isPrimaryKeys()
public void setPrimaryKeys(boolean aPrimaryKeys)
public boolean isColumns()
public void setColumns(boolean aColumns)
public boolean isForeignKeys()
public void setForeignKeys(boolean aForeignKeys)
public boolean isComments()
public void setComments(boolean aComments)
public CatalogDescription buildCatalog() throws SQLException, IOException, SAXException
SQLExceptionIOExceptionSAXExceptionpublic CatalogDescription buildCatalog(String[] tables) throws SQLException, IOException
SQLExceptionIOExceptionpublic JdbcDatabase getDatabase()
Copyright © 2008–2018. All rights reserved.