Skip to content

Support dependency injection in JPA AttributeConverter for EclipseLink [SPR-17159] #21696

Closed as not planned
@spring-projects-issues

Description

@spring-projects-issues

Marten Deinum opened SPR-17159 and commented

With JPA 2.2 it is finally possible to do injection into AttributeConverters. The standard describes that when using CDI that injection. It would be nice if when using Spring injection would be supported as well. 

JPA 2.1 introduced injecting in EntityListeners with CDI would be nice if injection would work for that as well. 

Added bonus would be if this would work with both JPA and plain Hibernate. 


Affects: 5.1 RC1

Reference URL: https://github.com/javaee/jpa-spec/issues/109

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: dataIssues in data modules (jdbc, orm, oxm, tx)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions