changes to no generated key, repositoryClass , Domain ....