jeudi 4 juin 2015

JPA - The abstract schema type 'Message' is unknown

I have an issue with JPA - eclipseLink and after sevral searches I don't find the answer...

Error : Problem compiling [UPDATE Message m SET m.checked = 1 WHERE m.checked = 0 AND m.receiver.id = :loggedUser] The abstract schema type 'Message' is unknown.

ORM definition : (I removed NamedQueries but same results) @Entity @Table(name = "MESSAGES")

I don't understand, I have many other JPA objects and it works fine but for this one, I get this error...

Any idea ?

Aucun commentaire:

Enregistrer un commentaire