[jboss-jira] [JBoss JIRA] (AS7-6326) CLONE - EJB2 CMP all entities are synchronized with the database if <EntityHome>.findByPrimaryKey(...) is called

Wolf-Dieter Fink (JIRA) jira-events at lists.jboss.org
Fri Jan 11 12:38:08 EST 2013


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

Wolf-Dieter Fink moved JBPAPP6-1782 to AS7-6326:
------------------------------------------------

              Project: Application Server 7  (was: JBoss Enterprise Application Platform 6)
                  Key: AS7-6326  (was: JBPAPP6-1782)
             Workflow: GIT Pull Request workflow   (was: jira)
    Affects Version/s: 7.1.3.Final (EAP)
                           (was: EAP 6.0.1)
                           (was: EAP 6.0.0)
             Security:     (was: Public)
       Docs QE Status:   (was: NEW)

    
> CLONE - EJB2 CMP all entities are synchronized with the database if <EntityHome>.findByPrimaryKey(...) is called
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-6326
>                 URL: https://issues.jboss.org/browse/AS7-6326
>             Project: Application Server 7
>          Issue Type: Bug
>    Affects Versions: 7.1.3.Final (EAP)
>            Reporter: Wolf-Dieter Fink
>            Assignee: Wolf-Dieter Fink
>
> This is a different behavior to former AS versions and a huge performance issue.
> From the EJB spec the entities must be flushed due to have the correct result of the invoked finder.
> ejbFindByPrimaryKey() is special as there is no need to flush other instances.
> It is ensured that the entity is found nevertheless whether it is changed or not as the 'cache' is evaluated first.

--
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 jboss-jira mailing list