Package com.pega.pegarules.pub.database

Provides access to the relational database.

See:
          Description

Interface Summary
ClassDefinition Represents a PegaRULES class.
Database Manages database access.
DatabaseTable Contains information about a database table.
LockManager Manages locking and unlocking.
RulesetContext This class provides tools necessary when editing a rule.
 

Class Summary
CircumstanceResult Deprecated.  
CircumstanceResult.Status The possible results for resolving a rule for a specific circumstance.
Column  
DatabaseInformation An immutable representation of a particular database's meta data.
RuleResolutionInformation Stores information about a rule lookup.
 

Exception Summary
AuthorizationException Indicates that a database operation could not be performed due to insufficient authorization.
BadCircumstanceDateFormat This exception is thrown when a Rule contains a bad Circumstance Date.
BadClassDefinitionException Indicates that a PegaRULES class does not exist, or if there is some other problem with its definition.
BadDatabaseDefinitionException Database configuration is invalid or missing.
BadInputException Indicates that an input to a database method is invalid.
BadInstanceDataException This exception is thrown when PegaRULES encounters a database record with corrupt data.
BadRoleException Exception thrown when a bad role is specified.
BadRulesetException An exception with a ruleset--either a badly formatted ruleset string, or an undefined ruleset, depending on the method.
BadTableMappingException Indicates that there is a problem mapping from a class instance to a table.
CacheException Indicates that the cache detected an error.
ColumnPopulationException  
ConfigurationException This exception is thrown if there is bad configuration.
ConnectionException This class and its subclasses represent database-related connectivity errors (as opposed to operational errors).
DatabaseException An exception in database processing.
InitializationException Deprecated. use a more specific exception class instead
IntegrityConstraintViolationException Indicates that the Integrity constraint violation is detected
JTAException JTAException simply encapsulates the myriad exceptions that come from the Java Transaction API.
LockFailureException An exception that is thrown when a lock-related problem occurs.
LockGoneException This exception indicates that an expected lock is gone.
LockStolenException An exception indicating that a required lock has been stolen by another Requestor.
MultipleCircumstancePropertiesException This exception is thrown when PegaRULES encounters more than one version of a Rule with the same name, but different Circumstance (pyCircumstanceProp) or Date Circumstance (pyCircumstanceDateProp) Properties.
MultipleInstancesWithKeyException Describes the problem where the Database Interface encounters more than one record when submitting a query to perform an "open."
MultipleRuleVersionException This exception is thrown when PegaRULES encounters more than one version of a Rule with identical Rule Resolution characteristics.
NestedCommitException Indicates that an attempt was made to commit while a commit was already being processed.
NonexistentTableException This exception is thrown when PegaRULES configuration points to a database table that does not exist.
NoRuleVersionWithoutCircumstanceException This exception is thrown during Rule Resolution if there is no default Rule version found.
NotSupportedException An exception in database processing.
 

Error Summary
CacheRuntimeException Indicates that the cache detected an error.
 

Package com.pega.pegarules.pub.database Description

Provides access to the relational database. This package also includes functionality related to Rule Resolution, Rule Referencing, DBTrace, and the Rule Cache.

Package Specification

Most access to database-related functionality is provided through the Database interface.

Many methods in this package throw an instance of a subclass of DatabaseException if a problem is encountered.

Related Documentation



Copyright © 2012 Pegasystems Inc. All Rights Reserved.