users@glassfish.java.net

RE: discriminatorcolumn problem

From: Joao Cabral <jcabral_at_orientacao-lda.pt>
Date: Wed, 3 Mar 2010 18:33:23 -0000

I have the getters/setter in the primary key class.
 
 
-----Mensagem original-----
De: Dominik Dorn [mailto:dominik.dorn_at_gmail.com]
Enviada: quarta-feira, 3 de Março de 2010 18:19
Para: users_at_glassfish.dev.java.net
Assunto: Re: discriminatorcolumn problem

Looks like you forgot a setter somewhere.

jpa needs setters and getters for every attribute, also in the primarykey
class.
the setters can be protected/private, but must exist.



-- 
[url=http://www.dominikdorn.com]Dominik Dorn[/url]
Tausche Deine [url=http://www.studyguru.eu] Mitschriften [/url] auf
 [url=http://www.studyguru.eu]http://www.studyguru.eu[/url]!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net