|
||||||||||
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
public class JavaDBEmbeddedConnection
DatabaseConnection
implementation for an embedded javadb connection
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 |
Constructor Summary | |
---|---|
JavaDBEmbeddedConnection()
Default constructor |
Method Summary | |
---|---|
void |
configure(java.awt.Window owner)
opens up the configuration window |
java.util.Properties |
getConnectionProperties()
build connection properties based on current config |
java.lang.String |
getConnectionString()
build connection string based on current config |
boolean |
loadDriver()
load database driver (org.apache.derby.jdbc.EmbeddedDriver) |
void |
onClose()
explicitly shutdown the database after close. needed for derby databases |
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 |
Constructor Detail |
---|
public JavaDBEmbeddedConnection()
Method Detail |
---|
public void configure(java.awt.Window owner)
configure
in interface DatabaseConnection
configure
in class AbstractJavaDBConnection
owner
- owning windowpublic boolean loadDriver()
loadDriver
in interface DatabaseConnection
loadDriver
in class AbstractJavaDBConnection
public java.lang.String getConnectionString()
getConnectionString
in interface DatabaseConnection
getConnectionString
in class AbstractJavaDBConnection
DriverManager.getConnection(String, Properties)
public java.util.Properties getConnectionProperties()
getConnectionProperties
in interface DatabaseConnection
getConnectionProperties
in class AbstractJavaDBConnection
DriverManager.getConnection(String, Properties)
public void onClose()
onClose
in interface DatabaseConnection
onClose
in class AbstractJavaDBConnection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |