openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2500) EJB Transaction Supports attribute causing JPA lazy fetching fails
Date Sat, 10 May 2014 22:12:30 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Suresh updated OPENJPA-2500:
----------------------------

    Summary: EJB Transaction Supports attribute causing JPA lazy fetching fails  (was: EJB
Transaction Supports causing JPA lazy Fetching fails)

> EJB Transaction Supports attribute causing JPA lazy fetching fails
> ------------------------------------------------------------------
>
>                 Key: OPENJPA-2500
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2500
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.2.2
>         Environment: windows 7, Weblogic 10.3.4(11g), SOAPUI 2.3.4, Java 1.6.0.30, EJB
3.0
>            Reporter: Suresh
>            Priority: Minor
>
> I have an Enterprise Java Bean (EJB) called "A" and method called loadData with EJB "A".

> loadData method is marked with Supports Transaction attribute. 
> loadData method tries to load Employee Data from JPA domain and further lazy fetches
Department data and Employee Address Details. 
> The response has only Employee Data and does not have Department data and Employee Address
Details. 
> If I change EJB method "A" Transaction attribute to Required then all details appear
in the response. 
> Why is Transaction attribute Supports causing JPA lazy fetching fails?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message