Hi Steve,
thanks for your quick answer. Basically your solution would work with a non parameterized UserType, but in this case I need to be able to pass a parameter to the UserType.
I have patched the element definition of the hibernate-mapping dtd as follows and this appears to work:
Code:
<!-- Declares the element type of a collection of basic type -->
<!ELEMENT element (column|formula|type)*>
<!ATTLIST element column CDATA #IMPLIED>
<!ATTLIST element node CDATA #IMPLIED>
<!ATTLIST element formula CDATA #IMPLIED>
<!ATTLIST element type CDATA #IMPLIED>
<!ATTLIST element length CDATA #IMPLIED>
<!ATTLIST element precision CDATA #IMPLIED>
<!ATTLIST element scale CDATA #IMPLIED>
<!ATTLIST element not-null (true|false) "false">
<!ATTLIST element unique (true|false) "false">
Do you want me to rise a JIRA Task for an update of the DTD?