November 2018
Beginner to intermediate
260 pages
6h 12m
English
In this section, we will create a model Java class, 'conference', and persist it to a MySQL table. We already installed MySQL in Chapter 2, Understanding the Topologies and Caching Strategies. Let's reuse the MySQL instance to persist cache data.
Create a Java program, store objects into a cache, and then persist the cached data to a MySQL table. Follow this process to persist data to a MySQL table:
CREATE TABLE `persistence`.`conference` ( `id` INT(10) ...
Read now
Unlock full access