]
Max Rydahl Andersen closed HBX-570.
-----------------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: 3.2LATER)
3.2.beta12
no info - and using ooold templates and i can't reproduce. closing.
$pojo appearing in auto-generated annotations when using non-basic
composite ids
--------------------------------------------------------------------------------
Key: HBX-570
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-570
Project: Hibernate Tools
Issue Type: Bug
Components: hbm2java
Affects Versions: 3.1beta4
Environment: Eclipse 3.1.2, JDK 1.5.0_01, SQL Server 2005, JTDS JDBC Driver
Reporter: Matt Read
Priority: Minor
Fix For: 3.2.beta12
Attachments: error.log, plugin settings.jpg, screenshot-1.jpg, screenshot-1.jpg
I'm getting the following lines generated as annotations when using the Eclipse code
generation plugin with the EJB3/JSR-220 annotations option selected. It appears only to
occur on ManyToOne mappings. I assume the work-around is to fix these manually.
See references to $pojo.
@ManyToOne(cascade={$pojo.getCascadeType($property)},
fetch=$pojo.getFetchType($property))
$pojo.getHibernateCascadeTypeAnnotation($property)
$pojo.generateJoinColumnsAnnotation($property)
public Account getAccAccount() {
return this.accAccount;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: