注释类型 KeySequence


  • @Documented
    @Inherited
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface KeySequence
    序列主键策略

    oracle

    从以下版本开始:
    2017.4.20
    作者:
    zashitou
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      DbType dbType
      数据库类型,未配置默认使用注入 IKeyGenerator 实现,多个实现必须指定
      java.lang.String value
      序列名
    • 元素详细资料

      • value

        java.lang.String value
        序列名
        默认值:
        ""
      • dbType

        DbType dbType
        数据库类型,未配置默认使用注入 IKeyGenerator 实现,多个实现必须指定
        默认值:
        com.baomidou.mybatisplus.annotation.DbType.OTHER