Dear Emmanuel,
from what I unnderstood from the docs,
@Type is used for custom user type declaration. But I just need my String be mapped to the uniqueidentifier SQL-Type.
In xml mapping files I could define something like:
Code:
<property name="someGuid" type="string">
<column name="someGuid" sql-type="uniqueidentifier"/>
</property>
Could you please give me an example how an equivalent @Type def should look like, if I want a custom sql-type="uniqueidentifier".
I searched and read through the docs, queried the forum, but could not found any example.
best regards
Nils