DavidNDuffy wrote:
What does your class look like?
Do you have the following in it?
Code:
public Map getResources() { /* ... */ }
hibernate should be generating the java code for com.foo.ResourceBundleEntries, so I wouldn't need to...
Also, interestingly, if I change
Code:
<map name="resources" lazy="true">
<key column="id"/>
<composite-index class="com.foo.Locale">
<key-property name="language" type="string"/>
<key-property name="country" type="string"/>
</composite-index>
<composite-element class="com.foo.ResourceBundleEntries">
</composite-element>
</map>
to
Code:
<map name="resources" lazy="true">
<key column="id"/>
<composite-index class="com.foo.Locale">
<key-property name="language" type="string"/>
<key-property name="country" type="string"/>
</composite-index>
<element type="string"/>
</map>
It works, but obviously not what I want.
Thanks.