I would just subclass the store CFC and reference it in our config.
In theory all you need is an empty CFC (myJDBCStore.cfc) with an init() method that calls super.init() and then overrides instance.converter with your own CFC that that a deserializeObject() and serializeObject() method in it.
The API would stay the same. Depending on what you’re going to be caching, you maybe able to get away with something simpler like serializing as JSON. I think the current serialization is meant to handle anything you can throw in it such as CFCs and other complex objects. If you’re going to only put, say, strings, structs, and arrays into the cache, a simple JSON serialization might work fine and be cross-compatible.
Also, can you put in a ticket to make the JDBC store accept different convert objects as part of the config properties so you can override without subclassing?
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com