Class Hierarchy Previous Next Index
java.lang.Object | +----COM.cloudscape.database.Factory
This class is exists for the time being to provide access to database objects. IT WILL BE REMOVED IN A FUTURE RELEASE.
Callers of these methods must be within the context of a
cloudscape statement execution otherwise a SQLException will be thrown.
There are two basic ways to call these methods.
-- checkpoint the database CALL (CLASS COM.cloudscape.database.Factory). getDatabaseOfConnection().checkpoint();
import COM.cloudscape.database.*; ... // checkpoint the database Database db = Factory.getDatabaseOfConnection(); db.checkpoint();
Previous releases of this class included methods that threw COM.cloudscape.database.DatabaseException. This DatabaseException class has been removed and now methods throw java.sql.SQLException.
Cloudscape reserves the right to change, rename, or remove this interface at any time.
Returns the Database object associated with the current connection.
Return the System object associated with the current connection.
Returns a type factory.
public Factory()
public static Database getDatabaseOfConnection() throws java.sql.SQLException
Returns the Database object associated with the current connection.
public static System getSystemOfConnection()
Return the System object associated with the current connection. This is the System associated with the database accessed by the current connection.
public static TypeFactory getTypeFactory() throws java.sql.SQLException
Returns a type factory. If there is a problem, null is returned
public static TriggerExecutionContext getTriggerExecutionContext() throws java.sql.SQLException
Class Hierarchy Previous Next Index