You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2015/04/28 12:46:05 UTC

[jira] [Closed] (CAY-2007) Refactoring SelectTranslator for better extensibility

     [ https://issues.apache.org/jira/browse/CAY-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-2007.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.M3

(closing, though may still add a few more refactorings under this task ID)

> Refactoring SelectTranslator for better extensibility
> -----------------------------------------------------
>
>                 Key: CAY-2007
>                 URL: https://issues.apache.org/jira/browse/CAY-2007
>             Project: Cayenne
>          Issue Type: Improvement
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: 4.0.M3
>
>
> Will introduce a few refactorings and small bug fixes to SelectTranslator:
> * Remove checked exceptions from translator API... we no longer pretend to write to Appendable, and will write to StringBuilder instead
> * Unify ParameterBinding objects between query types
> * Fix a bug in SelecTranslator - iterators will not work when supress distinct is in effect
> * Removing Connection from translators; SQLAction should take care of all connection ops
> The motivation is to align SelectTranslator API with BatchTranslator in respect to managing bindings... We may support encrypted parameters in SelectQueries at some point. Also this unifies logging, etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)