I have searched for a solution to caching that uses a database as its storage, but only come up with query caching. Are there any solutions out there to actually use a database as the storage mechanism for caching data?
To give some perspective, my issue is the following: I am consuming a web service resource that could be far more time-consuming than querying my database. As such, I want to cache the results of my web service requests in my database.
I realize I can do this by hand, but I though there has to be some existing solution out there that I can at least investigate if it is useful for my purposes.
Further info: My current project library consists of Java EE 7 and Hibernate.
I was hoping EHCache had something for me, but it seems to only provide memory or file-based solutions. The memory footprint for this particular cache would be too large. Also, this will run in a clustered environment, so the file-based solution would cause synchronization issues.