Community

Custom column in jbosscache table and Custom Loading from pe

reply from Nicolas Gillet in JBoss Cache - View the full discussion

Hello,

 

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.

 

Nicolas

Gillet

 

P.S. sorry to unbury old topics

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community