[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1829) Allow join on any property using property-ref

Daljeet Singh Sarna (JIRA) noreply at atlassian.com
Thu Nov 6 11:57:12 EST 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31631#action_31631 ] 

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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list