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)

Reply via email to