To load lazy relation:
For collection: model.collection.size()
For entity:
Hibernate.initialize(model.anotherLazyObject)
#hibernate#hibernatePerformance
#howto Live reload when static resource changes in boot using gradle
add spring-boot-devtools and
bootRun {
sourceResources sourceSets.main
}
#springboot#gradle
Galera cluster is for replication. It is bit different than traditional mysql clustering. Galera allows write to be made in any node, this is how it eliminates lag between server and client.