Skip to content

Misleading exception message for using JPA with custom IsolationLevels [SPR-8325] #12974

Closed
@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened SPR-8325 and commented

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.


Affects: 3.0.5, 3.1 M1

Issue Links:

Backported to: 3.2.10

2 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions