[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-788?page=co...
]
Simon Lebettre commented on HHH-788:
------------------------------------
Hi.
There is a workaround : Just suffix the column name in the formula with the table name.
example : instead of
<map-key formula="lng_cd" type="string"/>
<composite-element class="Description">
<property name="languageCode" column="lng_cd" />
<property name="description" column="prtt_des" />
where "lng_cd" is a column of "some_table"
use
<map-key formula="some_table.lng_cd" type="string"/>
<composite-element class="Description">
<property name="languageCode" column="lng_cd" />
<property name="description" column="prtt_des" />
-------
Regards, Simon (
http://www.linkedin.com/in/simonlebettre )
formula-based index and lazy="extra"
------------------------------------
Key: HHH-788
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-788
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.1 beta 2
Reporter: Gavin King
Priority: Minor
Currently, collections with formula-based indexes and lazy="extra" are broken.
--
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