[jboss-jira] [JBoss JIRA] Commented: (HIBERNATE-56) NamedQueries not honoured on mapped supperclasses
Heiko W. Rupp (JIRA)
jira-events at jboss.com
Tue Jan 16 10:44:53 EST 2007
[ http://jira.jboss.com/jira/browse/HIBERNATE-56?page=comments#action_12350950 ]
Heiko W. Rupp commented on HIBERNATE-56:
----------------------------------------
EJB3 persistence spec says that they can go on both @Entity and @MappedSuperclass
8.3.1: TheNamedQueryandNamedQueriesannotations canbeappliedtoanentityor
mapped superclass.
8.3.2:
TheNamedNative-
Query andNamedNativeQueries annotations can be applied to an entity or mapped superclass.
> NamedQueries not honoured on mapped supperclasses
> -------------------------------------------------
>
> Key: HIBERNATE-56
> URL: http://jira.jboss.com/jira/browse/HIBERNATE-56
> Project: Hibernate
> Issue Type: Bug
> Environment: jboss embedded alpha 9
> Reporter: Heiko W. Rupp
> Assigned To: Steve Ebersole
>
> INFO 16-01 15:50:34,265 (Version.java:<clinit>:15) -Hibernate EntityManager 3.2.0.CR1
> INFO 16-01 15:50:34,281 (Version.java:<clinit>:15) -Hibernate Annotations 3.2.0.CR1
> INFO 16-01 15:50:34,287 (Environment.java:<clinit>:499) -Hibernate 3.2 cr2
> INFO 16-01 15:50:34,291 (Environment.java:<clinit>:532) -hibernate.properties not found
> If a @NamedQuery or @NamedNativeQuery is applied on a class that is marked as a @MappedSuperclass, then the named queries are ignored
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list