[patch] derived InternalXact attempts (and fails) to override a method from base
--------------------------------------------------------------------------------

                 Key: DERBY-5032
                 URL: https://issues.apache.org/jira/browse/DERBY-5032
             Project: Derby
          Issue Type: Bug
          Components: Network Server
    Affects Versions: 10.7.1.1
            Reporter: Dave Brosius
            Priority: Trivial
             Fix For: 10.8.0.0
         Attachments: bad_override_attempt.diff

RawTransaction implements

public void checkLogicalOperationOk() throws StandardException {
}

which is attempted to be overridden in derived class InternalXact, but is not 
done so because of a case problem in InternalXact
 public void checkLogicalOperationOK() 
throws StandardException 
{
    throw StandardException.newException(
    SQLState.XACT_NOT_SUPPORTED_IN_INTERNAL_XACT);
}

Code that calls this method thru the parent will not get the overridden method 
called.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to