Hi,
I am using Middlegen to generate my mapping files directly from an Oracle database. All works well, except that I cannot get my id generators to use a certain sequence.
The code that is generated is:
Code:
<id
name="id"
type="java.math.BigDecimal"
column="ID"
>
<generator class="assigned" />
</id>
But instead, I want to have it generate:
Code:
<id
name="id"
type="java.math.BigDecimal"
column="ID"
>
<generator class="sequence">
<param name="sequence">xyz</param>
</generator>
</id>
Is this possible?
Thanks in advance for any help!
Arjan Huijzer