|
||||||||||
| 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 DatabaseConnectionconfigure in class AbstractJavaDBConnectionowner - owning windowpublic boolean loadDriver()
loadDriver in interface DatabaseConnectionloadDriver in class AbstractJavaDBConnectionpublic java.lang.String getConnectionString()
getConnectionString in interface DatabaseConnectiongetConnectionString in class AbstractJavaDBConnectionDriverManager.getConnection(String, Properties)public java.util.Properties getConnectionProperties()
getConnectionProperties in interface DatabaseConnectiongetConnectionProperties in class AbstractJavaDBConnectionDriverManager.getConnection(String, Properties)public void onClose()
onClose in interface DatabaseConnectiononClose in class AbstractJavaDBConnection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||