[ http://jira.jboss.com/jira/browse/JBAS-614?page=comments#action_12316107 
]
     
Scott M Stark commented on JBAS-614:
------------------------------------

Open a new issue with the testcase.

> entityCtx.getEJBLocalObject() returns wrong instance
> ----------------------------------------------------
>
>          Key: JBAS-614
>          URL: http://jira.jboss.com/jira/browse/JBAS-614
>      Project: JBoss Application Server
>         Type: Bug
>     Versions: JBossAS-3.2.6 Final
>     Reporter: SourceForge User
>     Assignee: Scott M Stark

>
>
> SourceForge Submitter: sflexus .
> I am using Jboss 3.2.1
> Sometimes entityContext.getEJBLocalObject() returns 
> local interface of another instance of the same entity 
> bean.
> I have a superclass for all my entities in application which 
> implements EntityBean's setEntityContext() method and 
> saves entityContext in a field.
> Inside one of business methods of one of entity beans I 
> check if a primary key constructed from key CMP field(s) 
> matches a primary key obtained from entityContext.
> getEJBLocalObject().getPrimaryKey(). Sometimes they do 
> not match: entityContext.getEJBLocalObject().
> getPrimaryKey() returns primary key of another instance 
> of the same entity bean.
> I have sometimes situations when user is logged in as one 
> customer and enjoys privileges of another...
> This happens ~20 times a day with a particular single 
> object for me... I could install some kind of bug trap 
> logging some debug info to help fix the bug.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to