cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2007) Refactoring SelectTranslator for better extensibility
Date Tue, 28 Apr 2015 10:34:05 GMT
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)

Mime
View raw message