TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing code example
Example: object references an unsaved transient instance - save the transient instance before flushing
@ManyToOne(cascade=CascadeType.PERSIST)
@JoinColumn(name="cidade_id")
private Cidade cidade;