org.salespointframework.core.data.database
Class DefaultDatabaseConnection

java.lang.Object
  extended by org.salespointframework.core.data.database.AbstractJavaDBConnection
      extended by org.salespointframework.core.data.database.JavaDBEmbeddedConnection
          extended by org.salespointframework.core.data.database.DefaultDatabaseConnection
All Implemented Interfaces:
DatabaseConnection

public class DefaultDatabaseConnection
extends JavaDBEmbeddedConnection

The default database connection. is used if there was no connection found in PreferenceStorage the default connection is a JavaDBEmbeddedConnection

Since:
4.0
Author:
Thomas Kissinger

Nested Class Summary
 
Nested classes/interfaces inherited from class org.salespointframework.core.data.database.AbstractJavaDBConnection
AbstractJavaDBConnection.JavaDBConfigurationDialog, AbstractJavaDBConnection.JavaDBConfigurationFS
 
Field Summary
 
Fields inherited from class org.salespointframework.core.data.database.AbstractJavaDBConnection
askpass, cmds, description, imageFilename, name, params, pass, target, tmpPass, typeMap, user
 
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
 

Method Detail

getInstance

public static DefaultDatabaseConnection getInstance()
returns the singleton instance

Returns: