标签:scan app oracl select ssi generate tor 主键生成策略 config
@Id @GeneratedValue(strategy = GenerationType.IDENTITY, generator="SELECT F_DEMO_SEQ.NEXTVAL FROM DUAL") private Long id;
<bean class="tk.mybatis.spring.mapper.MapperScannerConfigurer"> <property name="basePackage" value="com.wjz.mapper"/> <property name="sqlSessionFactoryBeanName" value="sqlSessionFactory"/> <property name="properties"> <value> mappers=tk.mybatis.mapper.common.Mapper ORDER=BEFORE </value> </property> </bean>
标签:scan app oracl select ssi generate tor 主键生成策略 config
原文地址:https://www.cnblogs.com/BINGJJFLY/p/8947378.html