mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Add another test case for circular dependencies
This commit is contained in:
@@ -14,7 +14,7 @@ public class Parent {
|
||||
private Long id;
|
||||
@Version
|
||||
private long version = 0L;
|
||||
@OneToOne(cascade = CascadeType.ALL)
|
||||
@OneToOne(cascade = CascadeType.ALL, mappedBy = "parent")
|
||||
private Child child;
|
||||
|
||||
public Long getId() {
|
||||
|
||||
Reference in New Issue
Block a user