[ http://jira.codehaus.org/browse/XDP-150?page=all ]
Konstantin Pribluda closed XDP-150:
-----------------------------------
Resolution: Duplicate
This issue was solved as XDP-122. Snapshot is available in codehaus repository
( 1.0.4-SNAPSHOT )
Problem came from access method change from "method" to "property" in HB3
Now there is either explcit access setting, or implicit field setting if tags
are placed on field.
> access="method" ???
> -------------------
>
> Key: XDP-150
> URL: http://jira.codehaus.org/browse/XDP-150
> Project: XDoclet 2 Plugins
> Type: Bug
> Components: hibernate
> Versions: 1.0.3
> Reporter: Cristian Spiescu
> Priority: Critical
>
>
> Hello,
> I have just started using XDoclet2, and I have ran into trouble: all the
> generated properties in hbm.xml files contain access="method".
> Example:
> <property name="name" not-null="true" length="20" access="method"
> unique="true"/>
> The problem is that when executing my program, I get the following exception:
> nested exception is org.hibernate.MappingException: could not find
> PropertyAccessor class: method
> org.hibernate.MappingException: could not find PropertyAccessor class: method
> Looking in Hibernate Doc, I saw that the "access" element has to be field,
> property or ClassName. So why does XDoclet2 generates access="method"?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest