You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Misleading exception message for using JPA with custom IsolationLevels [SPR-8325] #12974
When trying to use JPA with custom transaction isolation levels and no specfic JPA dialect configured one will get an exception saying:
Standard JPA does not support custom isolation levels - use a special JpaDialect for your JPA implementation
Unfortunately all our provided implementations do not support custom isolation levels at all. So even configuring a HibernateJpaDialect for example ends up with the same exception. This is not that of a big deal but might lead to quite some time spending on tracing an asssumed bug in the configuration where there actually is none.
In addition to adding a better message that explains that we don't support this, it would be preferable to actually support this in the various dialects obviously. I'm assuming this issue can be used to track that: if not, then please say so and I'll create a separate issue for that.
Activity
spring-projects-issues commentedon May 10, 2011
Joris Kuipers commented
In addition to adding a better message that explains that we don't support this, it would be preferable to actually support this in the various dialects obviously. I'm assuming this issue can be used to track that: if not, then please say so and I'll create a separate issue for that.