|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.salespointframework.core.data.database.AbstractJavaDBConnection
org.salespointframework.core.data.database.JavaDBEmbeddedConnection
org.salespointframework.core.data.database.DefaultDatabaseConnection
public class DefaultDatabaseConnection
The default database connection.
is used if there was no connection found in PreferenceStorage
the default connection is a JavaDBEmbeddedConnection
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.salespointframework.core.data.database.AbstractJavaDBConnection |
|---|
AbstractJavaDBConnection.JavaDBConfigurationDialog, AbstractJavaDBConnection.JavaDBConfigurationFS |
| Field Summary | |
|---|---|
private static DefaultDatabaseConnection |
_instance
singleton instance |
| Fields inherited from class org.salespointframework.core.data.database.AbstractJavaDBConnection |
|---|
askpass, cmds, description, imageFilename, name, params, pass, target, tmpPass, typeMap, user |
| Constructor Summary | |
|---|---|
private |
DefaultDatabaseConnection()
default constructor. sets database filename to "salespointdb" |
| Method Summary | |
|---|---|
static DefaultDatabaseConnection |
getInstance()
returns the singleton instance |
| Methods inherited from class org.salespointframework.core.data.database.JavaDBEmbeddedConnection |
|---|
configure, getConnectionProperties, getConnectionString, loadDriver, onClose |
| Methods inherited from class org.salespointframework.core.data.database.AbstractJavaDBConnection |
|---|
beforeConnect, doAssignmentFixing, getDescription, getImage, getName, getSpecialCommands, getTableColumns, getTables, getTypeMapping, handleCreateTableException, onConnected, promptPassword, recover, save, supportsAutoGeneratedKeys |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static DefaultDatabaseConnection _instance
| Constructor Detail |
|---|
private DefaultDatabaseConnection()
| Method Detail |
|---|
public static DefaultDatabaseConnection getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||