The AWS Advanced JDBC Wrapper now supports automatically caching JDBC queries with Valkey, including Amazon ElastiCache for Valkey caches. Previously, developers who needed to cache JDBC query result sets had to manually write code to store and retrieve data from the cache for each query. Now you can automatically cache result sets from your Aurora and RDS PostgreSQL, MySQL, and MariaDB databases in just a few short steps. Simply add the wrapper dependency, enable the query cache plugin, configure database and cache endpoints, and indicate which queries to cache in your application code.
With this capability, you can store and retrieve query results directly from ElastiCache for Valkey, reducing the number of database reads and lowering read latency for frequently accessed data. Automated query caching can improve performance, lower costs, and increase application resilience by reducing database resource requirements. The AWS Advanced JDBC Wrapper supports annotating queries for caching using popular persistence APIs and frameworks including Hibernate and Spring Data, as well as manual query hinting.
JDBC query caching with the AWS Advanced JDBC Wrapper works seamlessly with Amazon ElastiCache for Valkey. You can create a new Amazon ElastiCache for Valkey serverless cache with the AWS Management Console, Software Development Kit (SDK), Command Line Interface (CLI), or Model Context Protocol (MCP) server. For more information, see the Advanced JDBC Wrapper and Amazon ElastiCache for Valkey documentation.
Categories:
Source: Amazon Web Services
Latest Posts
- AWS End User Messaging RCS for Business now available in 20 additional countries

- AWS Interconnect – multicloud now offers a free 500 Mbps tier

- Amazon Redshift Serverless now offers 4-RPU Minimum Capacity in 7 additional AWS Regions

- Notebooks in Microsoft 365 Copilot: Organize work across conversations [MC1326520]
![Notebooks in Microsoft 365 Copilot: Organize work across conversations [MC1326520] 5 pexels mart production 7890048](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)




![Notebooks in Microsoft 365 Copilot: Organize work across conversations [MC1326520] 5 pexels mart production 7890048](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-mart-production-7890048-150x150.webp)
