db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-5032) [patch] derived InternalXact attempts (and fails) to override a method from base
Date Sat, 12 Feb 2011 06:45:57 GMT
[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

        

Mime
View raw message