Created
April 15, 2019 11:27
-
-
Save indzi/104e9e62e43016aa08913b35cf7ee816 to your computer and use it in GitHub Desktop.
org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : com.bitex.affiliation.core.entity.AffiliationUserEntity.profile -> com.bitex.affiliation.core.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Try putting CascadeType.ALL | |
@OneToOne(fetch = FetchType.EAGER,cascade=CascadeType.ALL) | |
@JoinColumn(name="COUNTRY_ID", nullable=false) | |
private Country country; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment