public class JdbcConnectivity extends Object
Constructor and Description |
---|
JdbcConnectivity() |
JdbcConnectivity(TableType tableType) |
Modifier and Type | Method and Description |
---|---|
void |
add(TableType tableType) |
String |
getCatalog()
Catalog name; must match the catalog name as it is stored in the database.
|
String |
getDriver()
Jdbc driver name
Example: org.h2.Driver |
String |
getPassword()
Jdbc password
Example: mypassword |
Boolean |
getReverseIndexes()
When false, no indexes is reversed at all.
|
Boolean |
getReverseOnlyUniqueIndexes()
when true, reverse only indexes for unique values; when false, reverse indexes regardless of whether unique or not.
|
String |
getSchemaName() |
String |
getTableNamePattern()
you can restrict table extraction using a pattern
Example: PROJECT_% |
List<TableType> |
getTableTypes()
Table types to retrieve
|
String |
getUrl()
Jdbc url connection
Example: Jdbc:h2:~/mydatabase |
String |
getUser()
Jdbc user
Example: myuser |
WellKnownDatabase |
getWellKownDatabase() |
boolean |
invalid() |
boolean |
isOracleRetrieveRemarks()
Should Celerio retrieve remarks on oracle, beware this is a very time consuming operation
|
boolean |
isOracleRetrieveSynonyms()
Should Celerio retrieve synonyms on oracle
|
boolean |
isWellKownDatabase() |
void |
setCatalog(String catalog) |
void |
setDriver(String driver) |
void |
setOracleRetrieveRemarks(boolean oracleRetrieveRemarks) |
void |
setOracleRetrieveSynonyms(boolean oracleRetrieveSynonyms) |
void |
setPassword(String password) |
void |
setReverseIndexes(Boolean reverseIndexes) |
void |
setReverseOnlyUniqueIndexes(Boolean reverseOnlyUniqueIndexes) |
void |
setSchemaName(String schemaName) |
void |
setTableNamePattern(String tableNamePattern) |
void |
setTableTypes(List<TableType> tableTypes) |
void |
setUrl(String url) |
void |
setUser(String user) |
boolean |
shouldReverseIndexes() |
boolean |
shouldReverseOnlyUniqueIndexes() |
boolean |
valid() |
public JdbcConnectivity()
public JdbcConnectivity(TableType tableType)
public String getDriver()
public String getUrl()
public String getUser()
public String getPassword()
public String getSchemaName()
public String getTableNamePattern()
public boolean isOracleRetrieveRemarks()
public boolean isOracleRetrieveSynonyms()
public Boolean getReverseIndexes()
public boolean shouldReverseIndexes()
public Boolean getReverseOnlyUniqueIndexes()
public boolean shouldReverseOnlyUniqueIndexes()
public String getCatalog()
public void add(TableType tableType)
public boolean invalid()
public boolean valid()
public WellKnownDatabase getWellKownDatabase()
public boolean isWellKownDatabase()
public void setDriver(String driver)
public void setPassword(String password)
public void setUrl(String url)
public void setUser(String user)
public void setSchemaName(String schemaName)
public void setTableNamePattern(String tableNamePattern)
public void setOracleRetrieveRemarks(boolean oracleRetrieveRemarks)
public void setOracleRetrieveSynonyms(boolean oracleRetrieveSynonyms)
public void setReverseIndexes(Boolean reverseIndexes)
public void setReverseOnlyUniqueIndexes(Boolean reverseOnlyUniqueIndexes)
public void setCatalog(String catalog)
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.