]
Gail Badner commented on HHH-822:
---------------------------------
Please open a new ticket for this issue.
<key-property> will actually pick up <type> tags if it
were allowed by the DTD
------------------------------------------------------------------------------
Key: HHH-822
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-822
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.0 final, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5
Reporter: amit bhayani
Fix For: 3.1 beta 2
The DTD does not allow map to have a composite-map-key where one of it's property is
a usertype that implements ParameterizedType.
for example:
<map name="pgtaPermission" table="USERDESKPERMISSIONS_TABLE"
lazy="false" fetch="select">
<key column="USERDBID"/>
<composite-map-key
class="UserPermDBImpl$UserPermissionData$PitGroupTAPermissionKey">
<key-property name="pitGroup" column="PITGROUPDBID">
<type name="com.tullib.core.hibernate.usertype.BasicEnumUserType">
<param name="CLASS"> com.tullib.sds.party.User$UserType</param>
</type>
</key-property>
...............
</composite-map-key>
</map>
If hibernate-mapping-3.0.dtd is modified to have <type> in <key-property> tag
it should work
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: