samedi 11 avril 2015

Hibernate: column does not exist

When I try to get an entry using the CrudRepository of Spring, I get a



Caused by: org.postgresql.util.PSQLException: ERROR: column appuser0_.useraccount_account_id does not exist


But in my database this column is named



useraccount_account_id


I even tried to define the column name explicitly via



@JoinColumn(name = "useraccount_account_id")


but no effect. At the moment I'm using the ImprovedNamingStrategy, Database is Postgres 9.4.


Any ideas what I could try? Never had an issue like that and after heavily restructuring the project I cannot find the cause...


Aucun commentaire:

Enregistrer un commentaire