[overlord-issues] [JBoss JIRA] (RTGOV-245) Querying activity via REST API results in hibernate lazy instantiation exception

Gary Brown (JIRA) jira-events at lists.jboss.org
Mon Aug 12 05:24:26 EDT 2013


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

Gary Brown resolved RTGOV-245.
------------------------------

    Resolution: Done

    
> Querying activity via REST API results in hibernate lazy instantiation exception
> --------------------------------------------------------------------------------
>
>                 Key: RTGOV-245
>                 URL: https://issues.jboss.org/browse/RTGOV-245
>             Project: RTGov (Run Time Governance)
>          Issue Type: Bug
>            Reporter: Gary Brown
>            Assignee: Gary Brown
>             Fix For: 1.1.0.Final
>
>
> Using a REST client to query activity events results in a hibernate lazy instantiation exception.
> First solution would be to change to EAGER fetch, although this results in another hibernate exception. Possible workaround is to change ActivityType.context from being a list to a set.
> Another solution would be to expand the txn boundary to encompass the REST query operation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the overlord-issues mailing list