You can register at most one column element-attribute to a discriminator but you can combine two columns using the power of
formula.
Sample:
Code:
<discriminator formula="col1||col2"/>
<subclass name="Subclass1" discriminator-value="faxin">
<property name="put your own here" column="put your own here" />
</subclass>
<subclass name="Subclass2" discriminator-value="faxout">
<property name="put your own here" column="put your own here" />
</subclass>
<subclass name="Subclass3" discriminator-value="scandone">
<property name="put your own here" column="put your own here" />
</subclass>
<subclass name="Subclass4" discriminator-value="scannotdone">
<property name="put your own here" column="put your own here" />
</subclass>