You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Savva Kolbachev (JIRA)" <ji...@apache.org> on 2016/01/14 18:11:39 UTC
[jira] [Created] (CAY-2046) Improve logging of query parameters
Savva Kolbachev created CAY-2046:
------------------------------------
Summary: 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
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
(v6.3.4#6332)