|
||||||||||
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.JavaDBClientConnection
public class JavaDBClientConnection
The DatabaseConnection
implementation for JavaDB remote connections do derby servers
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 | |
---|---|
JavaDBClientConnection()
default constructor |
Method Summary | |
---|---|
void |
configure(java.awt.Window owner)
displays the configuration dialog |
java.util.Properties |
getConnectionProperties()
builds the connection properties based on current config |
java.lang.String |
getConnectionString()
builds the connection string. based on current config |
boolean |
loadDriver()
loads the database driver (org.apache.derby.jdbc.ClientDriver) |
void |
onClose()
shutdown the database on close. javadb requires a special call for this |
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 JavaDBClientConnection()
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 |