tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbush <todd.bush1...@gmail.com>
Subject Re: Cmp2Generator & deleted method
Date Wed, 09 Dec 2009 01:06:46 GMT

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.

Thanks again,




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.


Mime
View raw message