Hi,
I'm attempting to use a ParameterizedType for an id in Hibernate, just as you would for a property.
Code:
<id name="identifier" access="field">
<type name="MyParameterizedUserType">
<param name="someParameter">myParameterValue</param>
</type>
</id>
The problem is that Hibernate complains that my
<id> element does not contain the required attribute
"type". Using a
<type> sub-element works for normal properties, but doesn't seem to for ids.
Is there any way around this? I'm sure I've seen a solution before but can't find any examples.
Thanks
cjsceats