A simple java object a query cache