You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Jeff Butler (JIRA)" <ib...@incubator.apache.org> on 2007/11/18 03:08:43 UTC
[jira] Closed: (IBATIS-470) Make generated getExampleParms()
protected instead of private
[ https://issues.apache.org/jira/browse/IBATIS-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Butler closed IBATIS-470.
------------------------------
Resolution: Fixed
Thanks for the patch!
> Make generated getExampleParms() protected instead of private
> -------------------------------------------------------------
>
> Key: IBATIS-470
> URL: https://issues.apache.org/jira/browse/IBATIS-470
> Project: iBatis for Java
> Issue Type: Improvement
> Components: Tools
> Reporter: Jerome Lacoste
> Assignee: Jeff Butler
> Attachments: method_getExampleParms_becomes_protected.patch
>
>
> Abator 1.0.0 generates code such as:
> private void getExampleParms() ....
> we wish to add new methods to the DAOs. One solution was to extend the original DAOs and add implementations for the queries we wish to implement in the sub-classes. We cannot reuse getExampleParms() as it is private. So we would like abator to generate the method with a protected modifier instead of private.
> Attached the (one-liner) patch. Patch was created against:
> URL - http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/tools/abator/
> Revision - 433064
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.