|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jdbw.server.AbstractDatabaseType
public abstract class AbstractDatabaseType
Includes some fundamental checks for connection errors and default implementations for some JDBW objects
| Constructor Summary | |
|---|---|
AbstractDatabaseType()
|
|
| Method Summary | |
|---|---|
AutoExecutor |
createAutoExecutor(DataSource dataSource)
Creates an AutoExecutor for this server type |
SQLExecutor |
createExecutor(Connection connection)
Creates an SQLExecutor for this server type |
MetaDataResolver |
createMetaDataResolver(DataSource dataSource)
Creates a MetaDataResolver for this server type |
SQLDialect |
getSQLDialect()
|
boolean |
isConnectionError(SQLException e)
Check an SQLException with this server type if it is considered a connection error |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.googlecode.jdbw.DatabaseServerType |
|---|
getName |
| Constructor Detail |
|---|
public AbstractDatabaseType()
| Method Detail |
|---|
public SQLDialect getSQLDialect()
getSQLDialect in interface DatabaseServerTypepublic AutoExecutor createAutoExecutor(DataSource dataSource)
DatabaseServerType
createAutoExecutor in interface DatabaseServerTypedataSource - DataSource that is backing the auto executor
public SQLExecutor createExecutor(Connection connection)
DatabaseServerType
createExecutor in interface DatabaseServerTypeconnection - Connection to be used by the SQLExecutor
public MetaDataResolver createMetaDataResolver(DataSource dataSource)
DatabaseServerType
createMetaDataResolver in interface DatabaseServerTypedataSource - DataSource to be used by this MetaDataResolver
public boolean isConnectionError(SQLException e)
DatabaseServerType
isConnectionError in interface DatabaseServerTypee - SQLException to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||