openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@bea.com>
Subject RE: How to debug object retrieveal in JPA?
Date Mon, 30 Apr 2007 19:52:16 GMT
> That is the original method with a new name.  As the 
> documentation states, the getters and setters used in 
> property access may appear with a "pc" prefix in stack traces 
> under OpenJPA.

What's the rationale behind this? It seems like this will inevitably
make debugging of problems more of a challenge, since the user's own
method names will no longer match up.

-Patrick

-- 
Patrick Linskey
BEA Systems, Inc.
_______________________________________________________________________
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. 

> -----Original Message-----
> From: Abe White [mailto:awhite@bea.com] 
> Sent: Monday, April 30, 2007 12:29 PM
> To: open-jpa-dev@incubator.apache.org
> Subject: Re: How to debug object retrieveal in JPA?
> 
> >> ca.BidSpec.emall.user.Person.pcsetPhoneNumbers(Person.java:727)
> >
> > I had read this and assumed that it was an 
> OpenJPA-generated method, 
> > but if so, there shouldn't be a line number. Did you 
> reverse-compile 
> > your classes at some point and change the synthetic interception 
> > methods?
> 
> That is the original method with a new name.  As the 
> documentation states, the getters and setters used in 
> property access may appear with a "pc" prefix in stack traces 
> under OpenJPA.
> 
> 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.
> 

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.

Mime
View raw message