[ http://jira.codehaus.org/browse/XDP-189?page=all ]
Konstantin Pribluda resolved XDP-189:
-------------------------------------
Resolution: Fixed
Fix Version: 1.0.4
This was fixed in 1.0.4-SNAPSHOT which is available from
maven repository at http://dist.codehaus.org/
> @hibernate.id - access="property" (default) generates bad hbm.xml
> -----------------------------------------------------------------
>
> Key: XDP-189
> URL: http://jira.codehaus.org/browse/XDP-189
> Project: XDoclet 2 Plugins
> Type: Bug
> Components: hibernate
> Versions: 1.0.3
> Environment: Ant 1.6.5, Hibernate 3.1.3, WinXP, JDK 5.0 R6
> Reporter: Matthew R Harrah
> Fix For: 1.0.4
>
>
> The @hibernate.id tag when access="property" is specified either explicity or
> by default:
> /**
> * @hibernate.id generator-class = "native"
> */
> public long getAircraftId() {
> return aircraftId;
> }
> generates access="method" rather than access="property" in the .hbm.xml file:
> <id access="method" name="aircraftId">
> <generator class="native"/>
> </id>
> which does not work in Hibernate 2 or 3. The Hibernate spec says this value
> should be "field", "property", or a ClassName.
--
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
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest