[jboss-jira] [JBoss JIRA] (AS7-6326) EJB2 CMP all entities are synchronized with the database if <EntityHome>.findByPrimaryKey(...) is called
Wolf-Dieter Fink (JIRA)
jira-events at lists.jboss.org
Wed Jan 16 09:28:23 EST 2013
[ https://issues.jboss.org/browse/AS7-6326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wolf-Dieter Fink updated AS7-6326:
----------------------------------
Git Pull Request: https://github.com/jbossas/jboss-as/pull/3867 (was: https://github.com/jbossas/jboss-as/pull/3867, https://github.com/jbossas/jboss-as/pull/3868)
> 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