what I see from the docs is
<type-mapping>
<sql-type jdbc-type="VARCHAR" length='20' hibernate-type="SomeUserType" /> <!-- jdbc-type is name fom java.sql.Types -->
<sql-type jdbc-type="VARCHAR" length='1' hibernate-type="yes_no" />
<sql-type jdbc-type="NUMERIC" precision='1' hibernate-type="boolean" /> <!-- length, scale and precision can be used to specify the mapping precisly -->
<sql-type jdbc-type="NUMERIC" hibernate-type="long" /> <!-- the type-mappings are ordered. This mapping will be consulted last, thus overriden by the previous one if precision=1 for the column -->
</type-mapping>
is there a DTD for this, perhaps even documented?
I can't see any way here to specify long types (fully qualified class names).
max wrote:
in reveng.xml