Top Description Fields Constructors Methods
org.apache.derby.jdbc

public Class BasicEmbeddedDataSource40

extends Object
implements DataSource, Serializable, EmbeddedDataSourceInterface
Class Inheritance
All Implemented Interfaces
org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface, javax.sql.DataSource, java.sql.Wrapper, javax.sql.CommonDataSource, java.io.Serializable
Known Direct Subclasses
org.apache.derby.jdbc.BasicEmbeddedXADataSource40, org.apache.derby.jdbc.ReferenceableDataSource, org.apache.derby.jdbc.BasicEmbeddedConnectionPoolDataSource40
Imports
java.io.PrintWriter, java.sql.Connection, .Driver, .DriverManager, .SQLException, .SQLFeatureNotSupportedException, java.util.Properties, java.util.logging.Logger, org.apache.derby.iapi.db.Database, org.apache.derby.shared.common.error.ExceptionSeverity, org.apache.derby.iapi.jdbc.ResourceAdapter, .AutoloadedDriver, .InternalDriver, .EmbeddedDataSourceInterface, .EmbeddedXADataSourceInterface, org.apache.derby.shared.common.reference.Attribute, .MessageId, .Property, .SQLState, org.apache.derby.shared.common.i18n.MessageService, org.apache.derby.iapi.services.monitor.ModuleFactory, .Monitor, org.apache.derby.impl.jdbc.Util

This data source is suitable for an application using embedded Derby, running on Java 8 Compact Profile 2 or higher.

BasicEmbeddedDataSource40 is similar to EmbeddedDataSource, but does not support JNDI naming, i.e. it does not implement javax.naming.Referenceable.

The standard attributes provided are, cf. e.g. table 9.1 in the JDBC 4.2 specification.

These standard attributes are not supported: The embedded Derby driver also supports these attributes:
See the specific Derby DataSource implementation for details on their meaning.

See also the JDBC specifications for more details.

See Also
EmbeddedDataSource

Field Summary

Modifier and TypeField and Description
protected boolean
attributesAsPassword

Set password to be a set of connection attributes.

protected String
connectionAttributes

Derby specific connection attributes.

protected String
createDatabase

Set to "create" if the database should be created.

protected String
protected String
protected String
protected transient InternalDriver
driver

Unlike a DataSource, the internal driver is shared by all Derby databases in the same JVM.

protected transient String
jdbcurl

Instance variable that will not be serialized.

protected int
private String
private transient PrintWriter
printer

Instance variable that will not be serialized.

private static final long
private String
shortDatabaseName

shortDatabaseName has attributes of databaseName stripped off.

protected String
shutdownDatabase

Set to "shutdown" if the database should be shutdown.

private String

Constructor Summary

AccessConstructor and Description
public
BasicEmbeddedDataSource40()

Constructs a basic embedded data source.

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Object
the reference object with which to compare.
other
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.
pack-priv InternalDriver

Returns:

The internal driver handle
findDriver
()

Return a handle to the internal driver, possibly instantiating it first if it hasn't been booted or if it has been shut down.

private static Object
findService(final String factoryInterface, final String serviceName)

Must be private so that user code can't call this entry point.

public boolean

Returns:

the value
getAttributesAsPassword
()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getAttributesAsPassword.

Return the value of the attributesAsPassword property, cf. setAttributesAsPassword.
public Connection

Returns:

a Connection to the database
getConnection
()

Implements javax.sql.DataSource.getConnection.

Attempt to establish a database connection.
public Connection

Returns:

a Connection to the database
getConnection
(String
the database user on whose behalf the Connection is being made
username
,
String
the user's password
password
)

Implements javax.sql.DataSource.getConnection.

Attempt to establish a database connection with the given username and password.
public final Connection

Returns:

user connection
getConnection
(String
the user name
username
,
String
the password
password
,
boolean
true if the password came from the getConnection() call with user and password arguments..
requestPassword
)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getConnection.

Get a user connection: minion method.
public String
public String

Returns:

The string "create" if create is set, or null if not
getCreateDatabase
()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getCreateDatabase.

public String
public String
public String
public int

Returns:

the data source login time limit
getLoginTimeout
()

Implements javax.sql.DataSource.getLoginTimeout.

Gets the maximum time in seconds that this data source can wait while attempting to connect to a database.
public PrintWriter

Returns:

the log writer for this data source, null if disabled
getLogWriter
()

Implements javax.sql.DataSource.getLogWriter.

Get the log writer for this data source.
private static ModuleFactory
getMonitor()

Must be private so that user code can't call this entry point.

public java.util.logging.Logger
getParentLogger()

Implements javax.sql.CommonDataSource.getParentLogger.

Return the parent Logger of all the Loggers used by this data source.
public String
private String
getShortDatabaseName()

Return database name with ant attributes stripped off.

public String

Returns:

the string "shutdown" if shutdown is set, or null if not, cf. setShutdownDatabase.
getShutdownDatabase
()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getShutdownDatabase.

public String
public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.
public boolean

Returns:

true if this implements the interface or directly or indirectly wraps an object that does
isWrapperFor
(Class<?>
a class defining an interface
interFace
)

Implements java.sql.Wrapper.isWrapperFor.

Returns false unless interFace is implemented.
public void
setAttributesAsPassword(boolean
Use true to encode password argument as a set of connection attributes in a connection request.
attributesAsPassword
)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setAttributesAsPassword.

Set attributeAsPassword property to enable passing connection request attributes in the password argument of getConnection(String, String).
public void
setConnectionAttributes(String
set to the list of Derby connection attributes separated by semi-colons. E.g., to specify an encryption bootPassword of "x8hhk2adf", and set upgrade to true, do the following:
    ds.setConnectionAttributes("bootPassword=x8hhk2adf;upgrade=true");
See the Derby documentation for complete list.
prop
)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setConnectionAttributes.

Set this property to pass in more Derby specific connection URL attributes.
public void
setCreateDatabase(String
if set to the string "create", this data source will try to create a new database of databaseName, or boot the database if one by that name already exists.
create
)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setCreateDatabase.

Set this property to create a new database.
public synchronized void
setDatabaseName(String
the name of the database
databaseName
)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setDatabaseName.

Set the database name.
public void
setDataSourceName(String
the name of the data source
dsn
)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setDataSourceName.

Set the data source name.
public void
setDescription(String
the description of the data source
desc
)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setDescription.

Set the data source descripton.
public void
setLoginTimeout(int
the data source login time limit
seconds
)

Implements javax.sql.DataSource.setLoginTimeout.

Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.
public void
setLogWriter(PrintWriter
the new log writer; to disable, set to null
out
)

Implements javax.sql.DataSource.setLogWriter.

Set the log writer for this data source.
public void
setPassword(String
The password in plain text
password
)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setPassword.

Set the password property for the data source.
public void
setShutdownDatabase(String
if set to the string "shutdown", this data source will shutdown the database if it is running.
shutdown
)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setShutdownDatabase.

Set this property if you wish to shutdown the database identified by databaseName.
protected static ResourceAdapter

Returns:

the resource adapter
setupResourceAdapter
(EmbeddedXADataSourceInterface
The data source
ds
,
ResourceAdapter
The cached value if any
ra
,
String
The user name
user
,
String
The password in clear text
password
,
boolean
If true, use the supplied user and password to boot the database if required
requestPassword
)

Return a resource adapter.

public void
setUser(String
The user
user
)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setUser.

Set the user property for the data source.
public <T> T

Returns:

an object that implements the interface
unwrap
(Class<T>
a class defining an interface
iface
)

Implements java.sql.Wrapper.unwrap.

Returns this if this class implements the specified interface.
protected void
update()

Update jdbcurl from attributes set.

Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAlltoStringwaitwaitwait

Field Detail

attributesAsPasswordback to summary
protected boolean attributesAsPassword

Set password to be a set of connection attributes.

connectionAttributesback to summary
protected String connectionAttributes

Derby specific connection attributes. Set by setConnectionAttributes(java.lang.String).

createDatabaseback to summary
protected String createDatabase

Set to "create" if the database should be created. See setCreateDatabase(java.lang.String).

databaseNameback to summary
protected String databaseName

Set by setDatabaseName(java.lang.String).

dataSourceNameback to summary
protected String dataSourceName

Set by setDataSourceName(java.lang.String).

descriptionback to summary
protected String description

Set by setDescription(java.lang.String).

driverback to summary
protected transient InternalDriver driver

Unlike a DataSource, the internal driver is shared by all Derby databases in the same JVM.

jdbcurlback to summary
protected transient String jdbcurl

Instance variable that will not be serialized.

loginTimeoutback to summary
protected int loginTimeout

Set by setLoginTimeout(int).

passwordback to summary
private String password

Set by setPassword(java.lang.String).

printerback to summary
private transient PrintWriter printer

Instance variable that will not be serialized.

serialVersionUIDback to summary
private static final long serialVersionUID
shortDatabaseNameback to summary
private String shortDatabaseName

shortDatabaseName has attributes of databaseName stripped off. See databaseName.

shutdownDatabaseback to summary
protected String shutdownDatabase

Set to "shutdown" if the database should be shutdown. See setShutdownDatabase(java.lang.String).

userback to summary
private String user

Set by setUser(java.lang.String).

Constructor Detail

BasicEmbeddedDataSource40back to summary
public BasicEmbeddedDataSource40()

Constructs a basic embedded data source. See the class Javadoc.

Method Detail

equalsback to summary
public boolean equals(Object other)

Overrides java.lang.Object.equals.

Doc from java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

The equals method implements an equivalence relation on non-null object references:

  • It is reflexive: for any non-null reference value x, x.equals(x) should return true.
  • It is symmetric: for any non-null reference values x and y, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any non-null reference values x, y, and z, if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.
  • It is consistent: for any non-null reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the objects is modified.
  • For any non-null reference value x, x.equals(null) should return false.

An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.

Parameters
other:Object

the reference object with which to compare.

Returns:boolean

true if this object is the same as the obj argument; false otherwise.

Annotations
@Override
findDriverback to summary
pack-priv InternalDriver findDriver() throws SQLException

Return a handle to the internal driver, possibly instantiating it first if it hasn't been booted or if it has been shut down.

Returns:InternalDriver

The internal driver handle

Annotations
@SuppressWarnings:ResultOfObjectAllocationIgnored
findServiceback to summary
private static Object findService(final String factoryInterface, final String serviceName)

Must be private so that user code can't call this entry point.

getAttributesAsPasswordback to summary
public boolean getAttributesAsPassword()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getAttributesAsPassword.

Return the value of the attributesAsPassword property, cf. setAttributesAsPassword.

Returns:boolean

the value

Annotations
@Override
getConnectionback to summary
public Connection getConnection() throws SQLException

Implements javax.sql.DataSource.getConnection.

Attempt to establish a database connection.

Returns:Connection

a Connection to the database

Annotations
@Override
Exceptions
SQLException:
if a database-access error occurs.
getConnectionback to summary
public Connection getConnection(String username, String password) throws SQLException

Implements javax.sql.DataSource.getConnection.

Attempt to establish a database connection with the given username and password. If the attributeAsPassword property is set to true then the password argument is taken to be a list of connection attributes with the same format as the connectionAttributes property.

Parameters
username:String

the database user on whose behalf the Connection is being made

password:String

the user's password

Returns:Connection

a Connection to the database

Annotations
@Override
Exceptions
SQLException:
if a database-access error occurs.
getConnectionback to summary
public final Connection getConnection(String username, String password, boolean requestPassword) throws SQLException

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getConnection.

Get a user connection: minion method.

Parameters
username:String

the user name

password:String

the password

requestPassword:boolean

true if the password came from the getConnection() call with user and password arguments..

Returns:Connection

user connection

Exceptions
SQLException:

Doc from org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getConnection.

on error

getConnectionAttributesback to summary
public String getConnectionAttributes()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getConnectionAttributes.

Returns:String

the Derby specific connection URL attributes, see setConnectionAttributes.

Annotations
@Override
getCreateDatabaseback to summary
public String getCreateDatabase()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getCreateDatabase.

Returns:String

The string "create" if create is set, or null if not

Annotations
@Override
getDatabaseNameback to summary
public String getDatabaseName()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getDatabaseName.

Returns:String

the database name set by setDatabaseName.

Annotations
@Override
getDataSourceNameback to summary
public String getDataSourceName()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getDataSourceName.

Returns:String

data source name as set in setDataSourceName.

Annotations
@Override
getDescriptionback to summary
public String getDescription()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getDescription.

Returns:String

the description as set in setDescription.

Annotations
@Override
getLoginTimeoutback to summary
public int getLoginTimeout() throws SQLException

Implements javax.sql.DataSource.getLoginTimeout.

Gets the maximum time in seconds that this data source can wait while attempting to connect to a database. A value of zero means that the timeout is the default system timeout if there is one; otherwise it means that there is no timeout. When a data source object is created, the login timeout is initially zero. See setLoginTimeout.

Returns:int

the data source login time limit

Annotations
@Override
Exceptions
SQLException:
if a database access error occurs.
getLogWriterback to summary
public PrintWriter getLogWriter() throws SQLException

Implements javax.sql.DataSource.getLogWriter.

Get the log writer for this data source.

The log writer is a character output stream to which all logging and tracing messages for this data source object instance will be printed. This includes messages printed by the methods of this object, messages printed by methods of other objects manufactured by this object, and so on. Messages printed to a data source specific log writer are not printed to the log writer associated with the java.sql.Drivermanager class. When a data source object is created the log writer is initially null, in other words, logging is disabled.

Returns:PrintWriter

the log writer for this data source, null if disabled

Annotations
@Override
Exceptions
SQLException:
if a database-access error occurs.
getMonitorback to summary
private static ModuleFactory getMonitor()

Must be private so that user code can't call this entry point.

getParentLoggerback to summary
public java.util.logging.Logger getParentLogger() throws SQLFeatureNotSupportedException

Implements javax.sql.CommonDataSource.getParentLogger.

Doc from javax.sql.CommonDataSource.getParentLogger.

Return the parent Logger of all the Loggers used by this data source. This should be the Logger farthest from the root Logger that is still an ancestor of all of the Loggers used by this data source. Configuring this Logger will affect all of the log messages generated by the data source. In the worst case, this may be the root Logger.

Returns:java.util.logging.Logger

the parent Logger for this data source

Exceptions
SQLFeatureNotSupportedException:
if the data source does not use java.util.logging
getPasswordback to summary
public String getPassword()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getPassword.

Returns:String

the password as set in setPassword.

Annotations
@Override
getShortDatabaseNameback to summary
private String getShortDatabaseName()

Return database name with ant attributes stripped off.

getShutdownDatabaseback to summary
public String getShutdownDatabase()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getShutdownDatabase.

Returns:String

the string "shutdown" if shutdown is set, or null if not, cf. setShutdownDatabase.

Annotations
@Override
getUserback to summary
public String getUser()

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.getUser.

Returns:String

the user name as set by setUser.

Annotations
@Override
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Doc from java.lang.Object.hashCode.

Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by java.util.HashMap.

The general contract of hashCode is:

  • Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
  • If two objects are equal according to the equals method, then calling the hashCode method on each of the two objects must produce the same integer result.
  • It is not required that if two objects are unequal according to the equals method, then calling the hashCode method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.
Returns:int

a hash code value for this object.

Annotations
@Override
isWrapperForback to summary
public boolean isWrapperFor(Class<?> interFace) throws SQLException

Implements java.sql.Wrapper.isWrapperFor.

Returns false unless interFace is implemented.

Parameters
interFace:Class<?>

a class defining an interface

Returns:boolean

true if this implements the interface or directly or indirectly wraps an object that does

Annotations
@Override
Exceptions
SQLException:
if an error occurs while determining whether this is a wrapper for an object with the given interface
setAttributesAsPasswordback to summary
public void setAttributesAsPassword(boolean attributesAsPassword)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setAttributesAsPassword.

Set attributeAsPassword property to enable passing connection request attributes in the password argument of getConnection(String, String). If the property is set to true then the password argument of the getConnection(String, String) method call is taken to be a list of connection attributes with the same format as the connectionAttributes property.

Parameters
attributesAsPassword:boolean

Use true to encode password argument as a set of connection attributes in a connection request.

Annotations
@Override
setConnectionAttributesback to summary
public void setConnectionAttributes(String prop)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setConnectionAttributes.

Set this property to pass in more Derby specific connection URL attributes.
Any attributes that can be set using a property of this DataSource implementation (e.g user, password) should not be set in connection attributes. Conflicting settings in connection attributes and properties of the DataSource will lead to unexpected behaviour.

Parameters
prop:String

set to the list of Derby connection attributes separated by semi-colons. E.g., to specify an encryption bootPassword of "x8hhk2adf", and set upgrade to true, do the following:

    ds.setConnectionAttributes("bootPassword=x8hhk2adf;upgrade=true");
See the Derby documentation for complete list.
Annotations
@Override
setCreateDatabaseback to summary
public void setCreateDatabase(String create)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setCreateDatabase.

Set this property to create a new database. If this property is not set, the database (identified by databaseName) is assumed to be already existing.

Parameters
create:String

if set to the string "create", this data source will try to create a new database of databaseName, or boot the database if one by that name already exists.

Annotations
@Override
setDatabaseNameback to summary
public synchronized void setDatabaseName(String databaseName)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setDatabaseName.

Set the database name. Setting this property is mandatory. If a database named wombat at g:/db needs to be accessed, database name should be set to "g:/db/wombat". The database will be booted if it is not already running in the system.

Parameters
databaseName:String

the name of the database

Annotations
@Override
setDataSourceNameback to summary
public void setDataSourceName(String dsn)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setDataSourceName.

Set the data source name. The property is not mandatory. It is used for informational purposes only.

Parameters
dsn:String

the name of the data source

Annotations
@Override
setDescriptionback to summary
public void setDescription(String desc)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setDescription.

Set the data source descripton. This property is not mandatory. It is used for informational purposes only.

Parameters
desc:String

the description of the data source

Annotations
@Override
setLoginTimeoutback to summary
public void setLoginTimeout(int seconds) throws SQLException

Implements javax.sql.DataSource.setLoginTimeout.

Sets the maximum time in seconds that this data source will wait while attempting to connect to a database. A value of zero specifies that the timeout is the default system timeout if there is one; otherwise it specifies that there is no timeout. When a data source object is created, the login timeout is initially zero.

Derby currently ignores this property.

Parameters
seconds:int

the data source login time limit

Annotations
@Override
Exceptions
SQLException:
if a database access error occurs.
setLogWriterback to summary
public void setLogWriter(PrintWriter out) throws SQLException

Implements javax.sql.DataSource.setLogWriter.

Set the log writer for this data source.

The log writer is a character output stream to which all logging and tracing messages for this data source object instance will be printed. This includes messages printed by the methods of this object, messages printed by methods of other objects manufactured by this object, and so on. Messages printed to a data source specific log writer are not printed to the log writer associated with the java.sql.Drivermanager class. When a data source object is created the log writer is initially null, in other words, logging is disabled.

Parameters
out:PrintWriter

the new log writer; to disable, set to null

Annotations
@Override
Exceptions
SQLException:
if a database-access error occurs.
setPasswordback to summary
public void setPassword(String password)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setPassword.

Set the password property for the data source.

This is user's password for any data source getConnection() call that takes no arguments.

Parameters
password:String

The password in plain text

Annotations
@Override
setShutdownDatabaseback to summary
public void setShutdownDatabase(String shutdown)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setShutdownDatabase.

Set this property if you wish to shutdown the database identified by databaseName.

Parameters
shutdown:String

if set to the string "shutdown", this data source will shutdown the database if it is running.

Annotations
@Override
setupResourceAdapterback to summary
protected static ResourceAdapter setupResourceAdapter(EmbeddedXADataSourceInterface ds, ResourceAdapter ra, String user, String password, boolean requestPassword) throws SQLException

Return a resource adapter. Use ra if non-null and active, else get the one for the data base.

Parameters
ds:EmbeddedXADataSourceInterface

The data source

ra:ResourceAdapter

The cached value if any

user:String

The user name

password:String

The password in clear text

requestPassword:boolean

If true, use the supplied user and password to boot the database if required

Returns:ResourceAdapter

the resource adapter

Exceptions
SQLException:
An error occurred
setUserback to summary
public void setUser(String user)

Implements org.apache.derby.iapi.jdbc.EmbeddedDataSourceInterface.setUser.

Set the user property for the data source.

This is user name for any data source getConnection() call that takes no arguments.

Parameters
user:String

The user

Annotations
@Override
unwrapback to summary
public <T> T unwrap(Class<T> iface) throws SQLException

Implements java.sql.Wrapper.unwrap.

Returns this if this class implements the specified interface.

Parameters
<T>

Doc from java.sql.Wrapper.unwrap. the type of the class modeled by this Class object

iface:Class<T>

a class defining an interface

Returns:T

an object that implements the interface

Annotations
@Override
Exceptions
SQLException:
if no object is found that implements the interface
updateback to summary
protected void update()

Update jdbcurl from attributes set.