generated from mingliqiye/lib-tem
refactor(uuid): 更新 UUID 类型处理器并调整包结构
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m0s
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m0s
-将 UUIDBinaryTypeHandler 和 UUIDStringTypeHandler 重命名为特定数据库的实现 - 创建 mysql 和 pgsql 包以区分不同数据库的实现 - 更新版本号至 3.0.7
This commit is contained in:
parent
1a9553b55d
commit
741ced2ffc
@ -22,4 +22,4 @@
|
||||
JDKVERSIONS=1.8
|
||||
GROUPSID=com.mingliqiye.utils
|
||||
ARTIFACTID=mingli-utils
|
||||
VERSIONS=3.0.6
|
||||
VERSIONS=3.0.7
|
||||
|
||||
@ -20,18 +20,20 @@
|
||||
* UpdateUser MingLiPro
|
||||
*/
|
||||
|
||||
package com.mingliqiye.utils.uuid.typehandlers;
|
||||
package com.mingliqiye.utils.uuid.typehandlers.mysql;
|
||||
|
||||
import com.mingliqiye.utils.uuid.UUID;
|
||||
import java.sql.CallableStatement;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import com.mingliqiye.utils.uuid.typehandlers.UUIDConverter;
|
||||
import org.apache.ibatis.type.BaseTypeHandler;
|
||||
import org.apache.ibatis.type.JdbcType;
|
||||
import org.apache.ibatis.type.MappedJdbcTypes;
|
||||
import org.apache.ibatis.type.MappedTypes;
|
||||
|
||||
import java.sql.CallableStatement;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
|
||||
/**
|
||||
* UUIDBinaryTypeHandler 类用于处理 UUID 类型与数据库 BINARY 类型之间的转换
|
||||
* 该类继承自 BaseTypeHandler,专门处理 UUID 对象的序列化和反序列化
|
||||
@ -20,18 +20,20 @@
|
||||
* UpdateUser MingLiPro
|
||||
*/
|
||||
|
||||
package com.mingliqiye.utils.uuid.typehandlers;
|
||||
package com.mingliqiye.utils.uuid.typehandlers.pgsql;
|
||||
|
||||
import com.mingliqiye.utils.uuid.UUID;
|
||||
import java.sql.CallableStatement;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import com.mingliqiye.utils.uuid.typehandlers.UUIDConverter;
|
||||
import org.apache.ibatis.type.BaseTypeHandler;
|
||||
import org.apache.ibatis.type.JdbcType;
|
||||
import org.apache.ibatis.type.MappedJdbcTypes;
|
||||
import org.apache.ibatis.type.MappedTypes;
|
||||
|
||||
import java.sql.CallableStatement;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
|
||||
/**
|
||||
* UUIDBinaryTypeHandler 类用于处理 UUID 类型与数据库 BINARY 类型之间的转换
|
||||
* 该类继承自 BaseTypeHandler,专门处理 UUID 对象的序列化和反序列化
|
||||
Loading…
x
Reference in New Issue
Block a user