|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DatabaseMetadataProvider

Database Meta data provider
| Method Summary | |
|---|---|
Connection |
getConnection()
Returns database connection |
DatabaseMetaData |
getDatabaseMetaData()
Returns database metadata |
String |
getEmptyStringNotation()
Get provider's notation for empty string |
String |
getName()
Returns DatabaseMetadataProvider logical name |
String |
getNullStringNotation()
Get provider's notation for NULL string |
Properties |
getProperties()
Returns provider properties |
void |
release(boolean silently)
Releases database resources |
void |
setEmptyStringNotation(String emptyStringNotation)
Set provider's notation for empty string |
void |
setName(String name)
Sets the DatabaseMetadataProvider logical name |
void |
setNullStringNotation(String nullStringNotation)
Set provider's notation for NULL string |
void |
setProperties(Properties properties)
Sets the provider properties |
| Method Detail |
|---|
void release(boolean silently)
silently - if true never generates Exception; otherwise mage rethrow RunTimeException
DatabaseMetaData getDatabaseMetaData()
throws Exception
Exception
Connection getConnection()
throws Exception
ExceptionString getName()
void setName(String name)
name - the DatabaseMetadataProvider logical nameString getEmptyStringNotation()
void setEmptyStringNotation(String emptyStringNotation)
emptyStringNotation - the provider's notation for empty stringString getNullStringNotation()
void setNullStringNotation(String nullStringNotation)
nullStringNotation - the provider's notation for NULL stringProperties getProperties()
void setProperties(Properties properties)
properties - the provider properties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||