Sure - you could have your own cache loader impl that does that.
Since JBC 3.1.0.GA JDBCCacheLoader is easily subclassable per this request, So you only need to subclass JDBCCacheLoader and JDBCCacheLoaderConfig, and redefine the methods you need, like:
Hope this helps. We are doing almost the same
I am new in JBoss Cache world and I am looking for a way to write my own jdbcCacheLoader.
Jorge's previous message gave me some hint but it is still blurry to me.
Is there any tutorial or example of such customized cache loader?
I especially have trouble to see how my jdbcCacheLoader will use my jdbcCacheLoaderConfig and how this jdbcCacheLoaderConfig il initialized and also if I will have to hard-code additionnal columns or if the mapping can be automatic through the configuration file.
I need to store geo-referenced images. Right now the whole object (image binary and infos) is stored as a blob but I would like to separate the different fields (coordinates, creation date and so one).
Thanks for any input.
P.S. sorry to unbury old topics