Commit bb1762e9 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '277-accessing-comment-issue' into 'devel_11.0.x'

Resolve "accessing comment"

See merge request piotr.gawron/minerva!211
parents 2d738b4b f16f4241
......@@ -127,7 +127,7 @@ public abstract class Element implements BioEntity, Serializable {
* {@link Compartment} where element is located. When element lies outside of
* every compartment then null value is assigned.
*/
@ManyToOne
@ManyToOne(fetch = FetchType.LAZY)
@Cascade({ CascadeType.SAVE_UPDATE })
private Compartment compartment;
......
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