Grokking Spring Boot
Vote

0% completed

​

Caching

We sent GET /events to the booking service three times, then created an event with POST /events, then sent GET /events once more. With SQL logging switched on, the log held these lines and no others from EventService and the event table:

c.example.booking.events.EventService : Loading upcoming events from the database Hibernate: select e1_0.id,e1_0.starts_at,e1_0.title,e1_0.venue_id from event e1_0 where e1_0.starts_at>? order by e1_0.starts_at Hibernate: insert into event (starts_at,title,venue_id,id) values (?,?,?,default) c.example.booking.events

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content