Bugs item #551404, was opened at 2002-05-02 15:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=551404&group_id=22866

Category: JBossCMP
>Group: None
Status: Open
Resolution: None
>Priority: 7
Submitted By: Cuen Edwards (jcuen)
>Assigned to: Dain Sundstrom (dsundstrom)
>Summary: cmp 2 field value set but not persisted (ejbSelect Problem?)

Initial Comment:
Hi

I found what I believe must be a bug in JBoss RC1 - I 
am busy downloading RC2 so I do not know whether it  
is still a problem.

When adding an Entity Bean I perform certain checks, 
on the passed ejbCreate parameters, to ensure that I 
do not create duplicate entries.

The Entity Bean is added correctly.  

If the parameters, which are passed, do not contain 
duplicate values already existing in another Entity 
Bean, I set the field values using accessor methods.

If I do not perform the check (for-duplicate-value) 
the values are persisted correctly.  However, when I 
do the checks (using ejbSelect methods) the Entity 
Bean's value is set correctly (Accessor Method) - 
however the value is never persisted (ejbStore is not 
called).

I have created a test program to demostrate the 
problem (It is attached).  I have included a zip file 
containg the following:

- Ant Build file
- relevant directory structure
- source files

This is the procedure for duplicating the error

- Unzip
- Deploy testejbjar.jar
- Run Test.class (client test app)

Operating System: Windows XP
JDK Version: 1.4
JBoss Version: 3 RC1 

Could somebody please have a look at this one... I 
think its serious...

Thanks


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

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

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to