Facing trouble in saving parent/child object with hibernate. Any idea would be highly appreciated.
org.hibernate.PropertyValueException: not-null property re
Make that variable as transient.Your problem will get solved..
@Column(name="emp_name", nullable=false, length=30) private transient String empName;