You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2018/03/29 07:42:00 UTC
[jira] [Closed] (CAY-2046) Improve logging of query parameters
[ https://issues.apache.org/jira/browse/CAY-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev closed CAY-2046.
--------------------------------
Resolution: Fixed
> Improve logging of query parameters
> -----------------------------------
>
> Key: CAY-2046
> URL: https://issues.apache.org/jira/browse/CAY-2046
> Project: Cayenne
> Issue Type: Improvement
> Reporter: Savva Kolbachev
> Assignee: Savva Kolbachev
> Priority: Major
>
> The main idea is to allow each ExtendedType to care about how to log its type of object.
> For these and other purposes we need to separate ExtendedTypeMap from JdbcAdapter. This will allow us to make ExtendedTypeMap injectable.
> Perhaps we could reverse the relationship between adapter and ExtenededTypeMap. ExtendedTypeMap may take DbAdapter as an argument to 'getRegisteredType' methods, and adapter would have a method returning adapter-specific types. Internally ExtenededTypeMap might cache a fully merged map of types for each adapter it was ever given to improve performance.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)