checkWarnings
public SQLWarning checkWarnings()
close
public void close()
Close down any resources used by this document. If an SQL Error occure
while the document was being accessed, the SQL Connection used to create
this document will be released to the Connection Pool on error. This allows
the COnnection Pool to give special attention to any connection that may
be in a errored state.
documentRegistration
public void documentRegistration()
As the DTM is registered with the DTMManager, this method
will be called. This will give the DTM implementation a
chance to initialize any subsystems that are required to
build the DTM
- documentRegistration in interface DTM
- documentRegistration in interface DTMDefaultBase
documentRelease
public void documentRelease()
As documents are released from the DTMManager, the DTM implementation
will be notified of the event. This will allow the DTM implementation
to shutdown any subsystem activity that may of been assoiated with
the active DTM Implementation.
- documentRelease in interface DTM
- documentRelease in interface DTMDefaultBase
getExpressionContext
public ExpressionContext getExpressionContext()
Return the context used to build this document
getNewDocument
public static SQLDocument getNewDocument(ExpressionContext exprContext)
This static method simplifies the creation of an SQL Document and allows
us to embedd the complexity of creating / handling the dtmIdent inside
the document. This type of method may better placed inside the DTMDocument
code
hasErrors
public boolean hasErrors()
Used by the XConnection to determine if the Document should
handle the document differently.