Thanks and I'll look at OSCache, can you tell me why you recommend this one over ehcache, what are the advantages?
However, concerning my problem, it is not the caching engine - it does not even get there... I found that it is because I don't set the "scalar" type - i.e., I don't tell Hibernate what columns I'm getting back and it errors because the "types" array in the TypesFactory is empty but it still try to access entries by index based on the columns returned by the query...
Really, that is a programming error since it is not required to set those values, the TypeFactory should not blindly try to read them.
This occurs only if setCacheable (true) is done.
_________________ Etienne
|