ales wrote:
IMHO I need to specify at property definition in a POJO class something like COLLATE 'skSK'. [...] This is possible and works very well at column definition in a Hibernate mapping file.
So it seems to work with a Hibernate mapping file!? But how?
I have the same problem with German Umlauts, but I didn't find any xml-attribute "collate" for the collection-elements.
There's only the "order-by"-attribute.
What I want, is something like:
Code:
<bag name="children" inverse="true" cascade="all-delete-orphan" order-by="name" collate="latin1_german2_ci">
<key column="parentId"/>
<one-to-many class="Child"/>
</bag>
Btw, does anybody know, wether HSQLDB supports such collation-stuff and where I can find a list of all available collate-charactersets?
TIA,
Schorsch