On Dec 9, 2009, at 2:06 AM, tbush wrote:


Thanks. I checked out the 3.1.2 source and made the change locally to get
myself moving again; so don't rush to get binaries up.

Oh great. I somehow managed to mess up my changes -- got CMR failures. Send me yours and I'll see if the test suite doesn't like it better. Made a JIRA issue for it here where you can attach a diff:

  https://issues.apache.org/jira/browse/OPENEJB-1116

-David


David Blevins wrote:


On Nov 24, 2009, at 9:50 PM, tbush wrote:

Toying around with using openejb embedded for unit tests of our EJB2
beans I
believe I came across an issue.  Every time I my EJBs would deploy,
I would
get a "ClassFormatError: Duplicate field name&signature".  Looking
at the
generated openejb cmp classes I realized there were two fields named
"deleted"; one was my bean's field, the other was a "private transient
deleted" put there by the Cmp2Generator.  Shouldn't the
Cmp2Generator name
this field a little more uniquely than just "deleted"?

Definitely.  Thanks for pointing this out.  It seems like the field
name could have the same "openejb_" prefix as the method accessor that
goes with that boolean.

I'm changing it to "OpenEJB_deleted" and seeing if all is well with
that.  Will throw up some binaries for you to try if it checks out.

-David




--
View this message in context: 
http://old.nabble.com/Cmp2Generator---deleted-method-tp26503024p26703588.html
Sent from the OpenEJB User mailing list archive at Nabble.com.



Reply via email to