mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#753 - @History "as of" query errors when executed a second time - invalid bind parameter
This commit is contained in:
@@ -70,6 +70,8 @@ public class TestHistoryInsert extends BaseTestCase {
|
||||
assertThat(earlyVersion.getName()).isEqualTo("Jim");
|
||||
assertThat(earlyVersion.getEmail()).isEqualTo("one@email.com");
|
||||
|
||||
Ebean.find(User.class).setId(user.getId()).asOf(afterInsert).findUnique();
|
||||
|
||||
|
||||
history = fetchHistory(user);
|
||||
assertThat(history).hasSize(3);
|
||||
|
||||
Reference in New Issue
Block a user