[jboss-jira] [JBoss JIRA] Closed: (JBAS-4504) Container does not report invalid named query exception

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Tue Dec 1 06:35:29 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-4504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlo de Wolf closed JBAS-4504.
-------------------------------

    Resolution: Out of Date


> Container does not report invalid named query exception 
> --------------------------------------------------------
>
>                 Key: JBAS-4504
>                 URL: https://jira.jboss.org/jira/browse/JBAS-4504
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB3
>    Affects Versions: JBossAS-4.0.5.GA
>         Environment: java 5 update 11; jboss 4.0.5 GA
>            Reporter: Radim Marek
>            Assignee: Carlo de Wolf
>            Priority: Minor
>
> When entity manager is called to create non-existing named query (for example because of mistyping), container doesn't throw a persistence exception. 
> Code
>         Query query = entityManager.createNamedQuery("MarketingBatch.getBatches");
> had been called from remote client and exception had appeared only on client as ClassNotFound: org.hibernate.MappingException. Other problems with named query are reported as expected. 
> I thought all exception not handled by session bean should be reported. It would be at least convenient.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list