You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2011/02/12 07:45:57 UTC
[jira] Updated: (DERBY-5032) [patch] derived InternalXact attempts
(and fails) to override a method from base
[ https://issues.apache.org/jira/browse/DERBY-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated DERBY-5032:
--------------------------------
Attachment: bad_override_attempt.diff
> [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
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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