Class Builder

java.lang.Object
org.miaixz.bus.mapper.Builder

public class Builder extends Object
通用方法
Since:
Java 17+
Author:
Kimi Liu
  • Field Details

    • CLASS_CACHE

      public static final org.apache.ibatis.cache.Cache CLASS_CACHE
    • CACHE

      public static final Map<Class<? extends GenId>,GenId> CACHE
    • LOCK

      public static final ReentrantLock LOCK
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • genId

      public static void genId(Object target, String property, Class<? extends GenId> genClass, String table, String column) throws org.miaixz.bus.core.lang.exception.MapperException
      生成 Id
      Parameters:
      target - 目标对象
      property - 属性
      genClass - class
      table - 表
      column - 列
      Throws:
      org.miaixz.bus.core.lang.exception.MapperException - 异常