Skip to content

JPA 2.0 support not enabled for OpenJPA (and others?) [SPR-6975] #11640

@spring-projects-issues

Description

@spring-projects-issues

Jerry Carter opened SPR-6975 and commented

The SpringPersistenceUnitInfo property 'persistenceXMLSchemaVersion' defaults to 1.0 and is never changed. This is a MAJOR headache for ORMs which use the version information to adjust their behavior.

The bug appears to be in org.springframework.orm.jpa.persistenceunit.PersistenceUnitReader. The version attribute is not used when the document is read to set the value in the SpringPersistenceUnitInfo instances.


Affects: 3.0.1

Attachments:

Referenced from: commits 7da13e7

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions