Re: Hibernate Plugin Issue

Konstantin Priblouda <kpriblouda-/[email protected]> Wed, 8 Aug 2007 21:47:58 -0700 (PDT)
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
--- Mark Russell <[email protected]>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have an eclipse plugin that uses xdoclet2 to build
> hbm files from java files containing the @hibernate
> tags.  Every time a
> java file is updated it will rebuild the hbm file
> associated with it.
> 
> I have an issue with the hibernate plugin.
> I have a java file with this tag in it:
> 	/**
> 	 *
> 	 * @return
> 	 * @hibernate.property access="property"
> 	 */
> 	public String getAuthorTitle() {
> 		return authorTitle;
> 	}
> 
> when the builder runs and builds the hbm file it
> looks like this:
>     <property name="authorTitle" access="method"/>
> 
> the the value method is invalid in a HBM file and
> causes errors when Hibernate ties to use it.  Could
> some one tell me if there
> is an issue with the way I'm using the tag is is
> there a bug in the code.
> 


Which plugin version are you using? 
Actual is 1.0.4-SNAPSHOT ( available in legacy maven
repository on codehaus )  allows arbitrary values for 
access. 

regards,

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


       
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/