xml文件:
<id name="id" type="java.lang.Long"> <column name="id" length="19"> <comment></comment> </column> <generator class="sequence"> <param name="sequence">SEQ_JbpmTaskInherit_SEQUENCE</param> </generator> </id>
创建序列:
create sequence SEQ_JbpmTaskInherit_SEQUENCE start with 1 increment by 1 nocycle nocache;