Skip to content

Replace string id feature #614

@ismaelgcosta

Description

@ismaelgcosta

I need a feature to override tha method called to create the id of the entity.

I have a composite id with entities embbeded. So I created a new annotation to customize Javers to use a defined method not toString Object.

So before Javers created globalId like = 'dummyEntityWithCompositeEmbeddedId/org.javers.core.model.DummyPoint@5b10,1'

and with this new feature I can customize for = 'dummyEntityWithCompositeEmbeddedId/1,2,1'

Here is my pull request #613. Sorry about my last issues. I should read the CONTRIBUTING.md before

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions