|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatabaseServerType
This interface represents a type (MySQL, PostgreSQL, etc...) of database, with methods used for helping you adapt to this particular server's dialect of SQL
DatabaseServerTypes| 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 |
String |
getName()
|
SQLDialect |
getSQLDialect()
|
boolean |
isConnectionError(SQLException e)
Check an SQLException with this server type if it is considered a connection error |
| Method Detail |
|---|
String getName()
SQLDialect getSQLDialect()
AutoExecutor createAutoExecutor(DataSource dataSource)
dataSource - DataSource that is backing the auto executor
SQLExecutor createExecutor(Connection connection)
connection - Connection to be used by the SQLExecutor
MetaDataResolver createMetaDataResolver(DataSource dataSource)
dataSource - DataSource to be used by this MetaDataResolver
boolean isConnectionError(SQLException e)
e - SQLException to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||