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:34:05 UTC

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

Andrus Adamchik created CAY-2007:
------------------------------------

             Summary: 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


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)