in generated jpa classes remove unused constructor (Behaviour) and make class final