[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-788) formula-based index and lazy="extra"
Simon Lebettre (JIRA)
noreply at atlassian.com
Mon Oct 1 15:02:25 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28270 ]
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list