[
http://opensource.atlassian.com/projects/hibernate/browse/EJB-74?page=com...
]
Stefan Norberg commented on EJB-74:
-----------------------------------
Please please please make me able to have the @NamedQuery annotations in my @Stateless
DAO:s. Having the Query code and the @NamedQuery in different classes if confusing at
best.
Stefan
@NamedQuery only works when written on an @Entity class
-------------------------------------------------------
Key: EJB-74
URL:
http://opensource.atlassian.com/projects/hibernate/browse/EJB-74
Project: Hibernate Entity Manager
Type: Bug
Components: EntityManager
Reporter: Gavin King
Assignee: Emmanuel Bernard
Priority: Critical
It is extremely likely that I would want to add an @NamedQuery annotation to a session
bean. This does not currently work, since Hibernate annotations only considers @Entity
classes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira