[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3102) Hibernate query at startup

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Tue Aug 12 21:47:52 EDT 2008


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

Shane Bryzak closed JBSEAM-3102.
--------------------------------

    Resolution: Done


I've modified EntityPermissionChecker to test that the session contexts exists before performing any security check.  I'm not totally convinced that this is the best solution (I tend to think that disabling/re-enabling security during startup would be more correct from a security point of view) however it seems to be the most convenient.

> Hibernate query at startup
> --------------------------
>
>                 Key: JBSEAM-3102
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3102
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.0.2.SP1
>         Environment: JBoss 4.2.2.GA, Seam 2.0.2.SP1
>            Reporter: ricardo campos
>            Assignee: Shane Bryzak
>             Fix For: 2.1.0.BETA1
>
>
> I believe the problem I posted here to be an issue:
> http://www.seamframework.org/Community/HibernateQueryAtStartup
> I'm getting "java.lang.IllegalStateException: No active session context" when executing a Hibernate query in a @Startup Component...

-- 
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 seam-issues mailing list