borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.dataset
java.util.EventListener +----borland.jbcl.dataset.ConnectionUpdateListener
Methods
Implemented by ConnectionUpdateAdapter
This class is used for notification before and after closing a database connection or changing the attributes of the JDBC connection.
public void canChangeConnection(borland.jbcl.dataset.ConnectionUpdateEvent event)
Called to warn listeners prior to the closing of a database connection. A listener may veto this by throwing an exception. If an Exception is thrown inside this method (if, for instance, an asynchronous query is in process), the closing of the connection will not be performed.
Parameters:
public void connectionChanged(borland.jbcl.dataset.ConnectionUpdateEvent event)
This is a notification that something has changed in the database connection, for example, the transactionIsolationLevel property of the database was changed.
Parameters:
public void connectionClosed(borland.jbcl.dataset.ConnectionUpdateEvent event)
This is a notification that the connection was closed. For example, when used for threads created for batch calculations, a listener might choose to stop the background thread.
Parameters: