Bugs item #1000771, was opened at 2004-07-30 18:51
Message generated for change (Comment added) made by loubyansky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1000771&group_id=22866

Category: JBossCMP
Group: v3.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: John Wagg (waggj)
Assigned to: Alexey Loubyansky (loubyansky)
Summary: ejbStore not called when required

Initial Comment:
We are primarily running 3.2.1. Our attempts to go to 
higher 3.x versions have run into problems 885357 was 
the original problem but this is fixed (in 3.2.4 at least). 
However this seems to have led on to another seemingly 
related problem.

The scenario is a BMP bean controlling a CMP bean. 
ejbCreate is called for the BMP bean. This does a create 
for the CMP bean just using key fields in the table. 
There are four indexes on the CMP bean's table and all 
except for one are composite keys. Only two of the 
indexes are unique. Further fields are updated in the 
BMP bean after creation. We come to commit the 
transaction. ejbStore is called on the BMP bean which 
updates the CMP bean. BUT ejbStore is never called on 
the CMP bean so the updates are lost. It's as if the 
persistence manager has already looked at the CMP 
bean, seen that nothing has changed and ruled it out 
for update before the BMP bean updates it. The work 
around, of course, is to create with all the fields 
required rather than just the key fields. But it should 
work as it is shouldn't it?

We are running on Windows XP. JDK 1.4.2_03

----------------------------------------------------------------------

>Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-08-03 17:12

Message:
Logged In: YES 
user_id=543482

Fixed in 3.2.6RC2. Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1000771&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to