[Hibernate-JIRA] Commented: (HHH-1829) Allow join on any property using property-ref
by Daljeet Singh Sarna (JIRA)
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1829?page=c... ]
Daljeet Singh Sarna commented on HHH-1829:
------------------------------------------
We also waited for this to fix, and tried various option but it won't work. so we downloaded the source code and edited and compiled again and used the jar
The changes wrere done to hibernate 3.2
Hibernate Changelog
===================
Chages in version 3.2.1 (2006.11.16)
-------------------------------------------
** Bug # 1
* Comment out Exception stack trace in 'org.hibernate.transaction.JDBCTransaction' class at Line # 198
* Original code: log.error("Could not toggle autocommit", sqle);
* New Code: log.error("Could not toggle autocommit");
** Bug # 2
* Comment Fix to allow <join> to map key to different column of parent using property-ref,
* Please refer to following site for patch details http://opensource.atlassian.com/projects/hibernate/browse/HHH-1829
* File Name : org.hibernate.persister.entity.AbstractEntityPersister,
* org.hibernate.cfg.HbmBinder,
* org.hibernate.mapping.KeyValue,
* org.hibernate.mapping.SimpleValue
* Change log : Pleas refer to File "PatchInformation/hhh-1829.patch"
** Bug # 3
* Comment Fix to allow <join> to be used with class attribute entity-name
* File Name : org.hibernate.cfg.HbmBinder
* Original Code : line number 995,996
Property prop = createProperty( value, propertyName, persistentClass
.getEntityName(), subnode, mappings, inheritedMetas );
* New Code: line number 995,996
Property prop = createProperty( value, propertyName, persistentClass
.getClassName(), subnode, mappings, inheritedMetas );
> Allow join on any property using property-ref
> ---------------------------------------------
>
> Key: HHH-1829
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1829
> Project: Hibernate Core
> Issue Type: New Feature
> Components: metamodel
> Affects Versions: 3.2.0 cr1, 3.2.0.cr2
> Reporter: Maarten Winkels
> Assignee: Steve Ebersole
> Attachments: AbstractJoinTest.java, HHH-1829-mwinkels.patch, hhh-1829.patch, JoinNoPropertyRefTest.java, JoinPropertyRefTest.java, Person.hbm.xml, Person.java, PersonNoPropertyRef.hbm.xml
>
>
> Currently joining tables for one class (uing the <join...> tag) is only supported for the id property. The property-ref is allowed on the <key..> tag inside the <join..> tag, but this is ignored.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[Hibernate-JIRA] Commented: (HHH-1829) Allow join on any property using property-ref
by michael cooper (JIRA)
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1829?page=c... ]
michael cooper commented on HHH-1829:
-------------------------------------
Hello,
I was wondering if anyone can help me with this issue. I have been tearing my hair out all morning and I have stumbled across this, with some relief.
Has it been resolved in any releases. If not is there a work-around. I have no idea how to use these patches. Would anyone be able to attach a jar file with this patch fixed or give me any pointers on it please.
I have tried doing what was suggested here - http://jira.nhibernate.org/browse/NH-1040 , but to no avail
Thanks in advance
Mike
> Allow join on any property using property-ref
> ---------------------------------------------
>
> Key: HHH-1829
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1829
> Project: Hibernate Core
> Issue Type: New Feature
> Components: metamodel
> Affects Versions: 3.2.0 cr1, 3.2.0.cr2
> Reporter: Maarten Winkels
> Assignee: Steve Ebersole
> Attachments: AbstractJoinTest.java, HHH-1829-mwinkels.patch, hhh-1829.patch, JoinNoPropertyRefTest.java, JoinPropertyRefTest.java, Person.hbm.xml, Person.java, PersonNoPropertyRef.hbm.xml
>
>
> Currently joining tables for one class (uing the <join...> tag) is only supported for the id property. The property-ref is allowed on the <key..> tag inside the <join..> tag, but this is ignored.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month