Hibernate 5 persist and refresh an entity ends with this instance does not yet exist as a row in the database

Yes I do want to Upgrade, but it is not possible now. Maybe in 3 Years. The application is to heavy and not all features are implemented. I wanted to start step by step, now I start with hibernate. Maybe later to Spring …