[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2331) EntityHome throws "EntityManager is closed" when app marked <distributable/>

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Mar 11 08:24:58 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2331?page=all ]

Pete Muir updated JBSEAM-2331:
------------------------------

    Fix Version/s: 2.1.x

> EntityHome throws "EntityManager is closed" when app marked <distributable/>
> ----------------------------------------------------------------------------
>
>                 Key: JBSEAM-2331
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2331
>             Project: JBoss Seam
>          Issue Type: Bug
>            Reporter: Chris Fraser
>             Fix For: 2.1.x
>
>         Attachments: WidgetHome.java
>
>
> Please see my forum post for details on this matter: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=124779
> Attached to this ticket is the source for my WidgetHome EntityHome class.  I can upload additional files from the project if that will help, but this can be easily recreated by seam-genning a new project, and generating entities from a DB that's got a single table (Widget) with 2 columns (widgetId, widgetName).  Once that's done, drop my WidgetHome in place of the seam-genned one, mark the app <distributable/> in web.xml, build/deploy/run the app and you'll see the problem when you create/update a widget.
> If this is not a bug, then it would at least be nice to have some best practices documented for using EntityHomes (and, as it turns out, EntityQuerys) in an application that has been marked <distributable/>.

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