Description
Hibernate L2 cache is typically configured using annotations, like this:
@Cache(usage = CacheConcurrencyStrategy.READ_ONLY, region = "userType")
Currently we require user to explicitly configure userType cache, but we can avoid this and create caches automatically.
Atomicity mode should be chosen based on concurrency strategy, all other settings should be default.