JBoss Community

Re: Weired JPA named query @NamedQuery behaviour

created by Christian Groove in EJB3 - View the full discussion

Salut Ilya,

 

i understoot your argumentation, but i believe (definitivly not sure)

this shall not be correct, because JAVA does not know anymodifier

called "completly fixed and static".

 

You may assign the annoation a final static String attribute, that is

composed of other String using concenation using the +-operator.

There is no reason, why +-operator works but a static method not!

Reply to this message by going to Community

Start a new discussion in EJB3 at Community