Open
Description
Expected behavior
I want to be able to find all versions of an entity which has a @ManyToMany
relationship in order to show this in an application to the end user. The diff of the versions should include the changes to this relationship.
Actual behavior
The Version
s returned to not include changes to the @ManyToMany
property. It seems that this only works with asOf()
?!
Steps to reproduce
var start = Timestamp.valueOf(LocalDateTime.of(1900, 1, 1, 0, 0));
var end = Timestamp.valueOf(LocalDateTime.now());
var versions = DB
.find(entityClass)
.setId(entityId)
.findVersionsBetween(start, end);
I am using Ebean version 15.1.0 included in https://github.com/playframework/play-ebean version 8.3.0.
Metadata
Metadata
Assignees
Labels
No labels