接口的使用
org.dromara.autotable.core.converter.DefaultTypeEnumInterface
使用DefaultTypeEnumInterface的程序包
程序包
说明
h2数据的策略实现
MySQL策略实现
PgSQL策略实现
SQLite策略实现
-
org.dromara.autotable.core.converter中DefaultTypeEnumInterface的使用
修饰符和类型字段说明static final Map<String, Map<Class<?>, DefaultTypeEnumInterface>> JavaTypeToDatabaseTypeConverter.JAVA_TO_DB_TYPE_MAPPING修饰符和类型方法说明default DefaultTypeEnumInterfaceJavaTypeToDatabaseTypeConverter.getSqlType(String databaseDialect, Class<?> clazz, Field field) 修饰符和类型方法说明static voidJavaTypeToDatabaseTypeConverter.addTypeMapping(String databaseDialect, Class<?> clazz, DefaultTypeEnumInterface typeEnum) 添加类型映射修饰符和类型方法说明static voidJavaTypeToDatabaseTypeConverter.addTypeMapping(String databaseDialect, Map<Class<?>, DefaultTypeEnumInterface> typeEnumMap) 添加类型映射 -
org.dromara.autotable.core.strategy中DefaultTypeEnumInterface的使用
返回变量类型为DefaultTypeEnumInterface的类型的org.dromara.autotable.core.strategy中的方法 -
org.dromara.autotable.core.strategy.h2中DefaultTypeEnumInterface的使用
-
org.dromara.autotable.core.strategy.h2.data中DefaultTypeEnumInterface的使用
修饰符和类型类说明enum用于配置h2数据库中类型,并且该类型需要设置几个长度 这里配置多少个类型决定了,创建表能使用多少类型 例如:varchar(1) decimal(5,2) datetime -
org.dromara.autotable.core.strategy.mysql中DefaultTypeEnumInterface的使用
-
org.dromara.autotable.core.strategy.mysql.data中DefaultTypeEnumInterface的使用
修饰符和类型类说明enum用于配置Mysql数据库中类型,并且该类型需要设置几个长度 这里配置多少个类型决定了,创建表能使用多少类型 例如:varchar(1) decimal(5,2) datetime -
org.dromara.autotable.core.strategy.pgsql中DefaultTypeEnumInterface的使用
-
org.dromara.autotable.core.strategy.pgsql.data中DefaultTypeEnumInterface的使用
-
org.dromara.autotable.core.strategy.sqlite中DefaultTypeEnumInterface的使用
-
org.dromara.autotable.core.strategy.sqlite.data中DefaultTypeEnumInterface的使用