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

Brad Maxwell (JIRA) jira-events at lists.jboss.org
Fri Jan 11 12:43:08 EST 2013


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

Brad Maxwell updated AS7-6326:
------------------------------

    Summary: EJB2 CMP all entities are synchronized with the database if <EntityHome>.findByPrimaryKey(...) is called  (was: CLONE - EJB2 CMP all entities are synchronized with the database if <EntityHome>.findByPrimaryKey(...) is called)

    
> 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