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

line in abstractNode is required

parent ecd2643e
......@@ -81,7 +81,7 @@ public abstract class AbstractNode implements Serializable {
* Line that represent this node in graphical representation.
*/
@Cascade({ CascadeType.ALL })
@OneToOne(fetch = FetchType.EAGER)
@OneToOne(fetch = FetchType.EAGER, optional = false)
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