New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javers' annotations should have priority over JPA annotations #539

bartoszwalacik opened this Issue May 2, 2017 · 1 comment


None yet
1 participant

bartoszwalacik commented May 2, 2017

test case:

    class AmbiguousValueObjectType {
        @Id int id

    class AmbiguousEntityType {
        @Id int id

    def "should use javers type annotations first, when ambiguous type mapping"(){
        typeFactory.inferFromAnnotations(AmbiguousEntityType) instanceof EntityType
        typeFactory.inferFromAnnotations(AmbiguousValueObjectType) instanceof ValueObjectType

@bartoszwalacik bartoszwalacik added the fixed label May 6, 2017


This comment has been minimized.


bartoszwalacik commented May 6, 2017

released in 3.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment