reset password
Author Message
kaancalstatela
Posts: 52
Posted 12:41 Aug 21, 2015 |

I've been dealing with this for a while, can't seem to pinpoint exactly where I'm going wrong. This is the error I get when I'm trying to save a new job to the database:

 

org.hibernate.PropertyValueException: not-null property references a null or transient value: csjobs.model.User.email

 

The funny part is I have no idea why User.email's null property reference would effect a job class instance in any way. Help would be appreciated.

 


 

hgadhia
Posts: 52
Posted 19:09 Aug 22, 2015 |

My guess is that, you have a reference to a User object in your Job class.