openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abe White <>
Subject Re: Remove toString from children of OpenJPAId - Please - please - please
Date Mon, 07 Apr 2008 15:57:34 GMT
I believe parts of OpenJPA may rely on being able to stringify an id and
then reconstruct it using the id class's Class,string constructor.  (And
if not OpenJPA, then certainly Kodo's JDO bindings).  

On Fri, 2008-04-04 at 17:32 -0700, wrote:
> I dont think anyone responded to this request yet - so I am asking again
> I would like OpenJPA to remove all the toString() method on all children
> class of OpenJPAId.
> Reason: OpenJPAId class already has the toString() and it handles it well.
> It puts the type and the id together - like this:
> com.myCompany.Account-2345
> This is very useful behavior when managing a cache (or even looking into
> the log file).
> Currently all the children have their own toString() which just outputs the
> id - This is not useful becuase it is not possible to distinguish between
> the types inside one cache. All types in the cache are DataCachePCData.
> Frederic
> PS: Can someone give me check in right in the code base... ;) - Have a good
> week end everyone.

Notice:  This email message, together with any attachments, may contain information  of  BEA
Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,
 copyrighted  and/or legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient, and have received
this message in error, please immediately return this by email and then delete it.

View raw message