RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN

2002-05-29 Thread Eric Kaplan
: RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN We're calling remove on the bean itself. As for the hashCode and equals, I thought that might be part of the problem, but they seem to be ok. Although, I modified hashCode() in my primary key to print something out when called and we don't

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN

2002-05-29 Thread Bill Burke
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 11:24 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN OK, mea culpa. All of our primary keys inherit from an abstract class that deals with cacheing

Re: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN

2002-05-29 Thread Scott M Stark
Burke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 29, 2002 9:45 AM Subject: RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN That's because JBoss used to handle primary keys differently. Before, PKs were wrapped in a JBoss object called CacheKey. The CacheKey helped out when

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN

2002-05-28 Thread Bill Burke
I can't remember, but I think there was a bug fixed in 2.4.6 regarding home.remove. I've also debugged problems from people where they have implemented their primary key's wrong. Are you sure you have implemented hashCode and equals correctly on your PrimaryKey class? -Original

Re: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN

2002-05-28 Thread Scott M Stark
There are known problems with xdoclet generating invalid hashCode methods in primary keys. Validate that your keys are correctly implementing hashCode and equals and that they serialize and unserialize correctly. Scott Stark Chief Technology Officer JBoss Group, LLC

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN

2002-05-28 Thread Eric Kaplan
thanks eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 6:57 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN I can't remember, but I think there was a bug fixed in 2.4.6

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-11 Thread Bill Burke
: Tuesday, July 10, 2001 6:13 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN. problem Thanks for replying, Bill. I'm using JBoss 2.2.2 and the Entity Bean is configured as a Standard BMP EntityBean (see jboss.xml below) -- I don't know

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-11 Thread Maraya Michael
: Bill Burke[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 10:34 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN. problem Michael, In your jboss conf directory where your jboss.jcml file is in, i.e

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-11 Thread Bill Burke
-Original Message- From: Maraya Michael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 12:10 PM To: [EMAIL PROTECTED]; 'Bill Burke' Subject: RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN. problem Thanks for the suggestions, Bill. Here's what happened

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-11 Thread Maraya Michael
Bill, I tried increasing the resizer-period to 6000 (10 minutes) so that the cache wouldn't resize during the load and that seems to have sidestepped the problem. I was able to load a total of 9919 records with no INSERTING AN ALREADY EXISTING BEAN errors. I think it's

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-10 Thread Bill Burke
Michael, What version of JBoss are you running? 2.2.x, 2.4Beta, or 2.5 mainline? What commit Option? A, B, or C? Also what kind of things are you doing(get/sets, creates, removes)? And are you doing them in one transaction? You definately have a corrupted cache here and I need more

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-10 Thread Maraya Michael
: Bill Burke[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 5:42 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN. problem Michael, What version of JBoss are you running? 2.2.x, 2.4Beta, or 2.5

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-05-15 Thread Bordet, Simone
Ulp ! yes, the problem exists and no, iv'e no fix on it yet. What is exactly the problem ? I probably missed it... Do you have a simple test that fails ? Simon I said for some weeks ago that i would take on it but there hasn't been any time for it yet :-( /Lennart

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-05-15 Thread Bordet, Simone
Hey Martin Hi, I recently upgraded from JBoss 2.0 Final to Jboss 2.2.1. Everything works as expected but now I get a IllegalStateException when creating entity beans. If I wait some minutes after creation and try to create the next bean everything works. I searched the mailing list