Description
openedon May 11, 2021
Description
In Spring, I could change the transaction isolation level in their @Transactional
annotation (please see https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/transaction/annotation/Transactional.html) however Quarkus is using the Java EE annotation which doesn't permit isolation level configuration.
My app is separated between read only API endpoints (high traffic) and write API endpoints (low traffic), so it would be very useful to have serializable
isolation level for the write endpoints and default (read uncommitted
) isolation level for read only endpoints.
Implementation ideas
Quarkus already has a TransactionConfiguration
annotation to configure transaction timeout, it would be a good idea to add an isolation level configuration there.