Commit 9d49eb0b authored by Piotr Gawron's avatar Piotr Gawron
Browse files

persistence must be set to cascade

parent 345e23ab
...@@ -221,6 +221,7 @@ public class Reaction implements BioEntity { ...@@ -221,6 +221,7 @@ public class Reaction implements BioEntity {
/** /**
* Central line of the reaction. * Central line of the reaction.
*/ */
@Cascade({ CascadeType.ALL })
@OneToOne(fetch = FetchType.EAGER, optional = false) @OneToOne(fetch = FetchType.EAGER, optional = false)
private PolylineData line; private PolylineData line;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment