Re: Hibernate plugin and private methods

Konstantin Priblouda <kpriblouda-/[email protected]> Tue, 8 Apr 2008 12:28:12 -0700 (PDT)
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
--- "." <[email protected]> wrote:

> I am trying to migrate from xdoclet 1.2.3 to 2.0.4,
> mainly for my hibernate hbm mapping files.
> Until now, xdoclet was able to see the tags I had
> over private methods, and create their info in the
> hbm. After I made the switch, I see that the new
> xdoclet does not show such a behavior. Is it on
> purpose? Is there some way I can enable
> private/protected method tagging?
> 
> I know that hibernate can easily deal with a private
> get/set property on my classes, and I want to keep
> some of them that way for my own encapsulation.


I just checked,  and actual codebase definitely does
pick up private getter marked with @hibernate.property

It also looks on the fields if you like. 

Can you show problematic sample?

regards, 

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone