Hi guys,<div>some thought about this issue. Mainly there are two option for the implementation:</div><div><br></div><div>1- Objects stored in cache are by themselves Entites (marked with an @Entity)</div><div><br></div><div>

2- Create a kind of wrapper Entity for non-entities objects</div><div><br></div><div>[1] Are more straight forward and should perform better, but are restricted to Enities</div><div>[2] Are more complex to develop, as have to figure out a good structure fot the wrapper, but satifies a lot of more use cases.</div>

<div><br></div><div><br>-- <br>Alejandro Montenegro del Pino.<br>Viña del Mar - Chile<br>phone: (+56) 9-68358690<br>
</div>