-
-
Notifications
You must be signed in to change notification settings - Fork 388
Closed
Description
My problem is that I need to store the two versions of an Entity. So each one has a specific value for its @id field. The real identity of my entities is the field businessIdentity. So I tried to register my entities with the following code
EntityDefinition def = new EntityDefinition(PersistentEntity.class,"businessIdentity");
builder.registerEntity(def);
Javers javers = builder.build();The problem is that Javers (I look with the debugger), always take my @id field as the object identity.
Do I miss something ?
Metadata
Metadata
Assignees
Labels
No labels