From e0c8b0d46e2136f7d33f3de90dc3d3dea8343ac1 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Tue, 29 Jul 2025 17:08:57 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20author=20=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/xyz/zhouxy/jdbc/DefaultBeanRowMapper.java | 2 +- src/main/java/xyz/zhouxy/jdbc/JdbcOperationSupport.java | 4 ++-- src/main/java/xyz/zhouxy/jdbc/JdbcOperations.java | 2 +- src/main/java/xyz/zhouxy/jdbc/ParamBuilder.java | 2 +- src/main/java/xyz/zhouxy/jdbc/ResultHandler.java | 4 ++-- src/main/java/xyz/zhouxy/jdbc/RowMapper.java | 4 ++-- src/main/java/xyz/zhouxy/jdbc/SimpleJdbcTemplate.java | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/java/xyz/zhouxy/jdbc/DefaultBeanRowMapper.java b/src/main/java/xyz/zhouxy/jdbc/DefaultBeanRowMapper.java index 7046487..bd7041a 100644 --- a/src/main/java/xyz/zhouxy/jdbc/DefaultBeanRowMapper.java +++ b/src/main/java/xyz/zhouxy/jdbc/DefaultBeanRowMapper.java @@ -48,7 +48,7 @@ import xyz.zhouxy.plusone.commons.annotation.StaticFactoryMethod; * NOTE: 使用反射获取类型信息,也是使用反射调用无参构造器和 {@code setter} 方法。 * 实际使用中还是建议针对目标类型自定义 {@link RowMapper}。 *

- * @author ZhouXY + * @author ZhouXY108 * @since 1.0.0 */ public class DefaultBeanRowMapper implements RowMapper { diff --git a/src/main/java/xyz/zhouxy/jdbc/JdbcOperationSupport.java b/src/main/java/xyz/zhouxy/jdbc/JdbcOperationSupport.java index 1b73525..76347bb 100644 --- a/src/main/java/xyz/zhouxy/jdbc/JdbcOperationSupport.java +++ b/src/main/java/xyz/zhouxy/jdbc/JdbcOperationSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,7 +43,7 @@ import xyz.zhouxy.plusone.commons.util.AssertTools; * 提供静态方法,封装 JDBC 基础操作 *

* - * @author ZhouXY + * @author ZhouXY108 * @since 1.0.0 */ class JdbcOperationSupport { diff --git a/src/main/java/xyz/zhouxy/jdbc/JdbcOperations.java b/src/main/java/xyz/zhouxy/jdbc/JdbcOperations.java index 61468be..053f890 100644 --- a/src/main/java/xyz/zhouxy/jdbc/JdbcOperations.java +++ b/src/main/java/xyz/zhouxy/jdbc/JdbcOperations.java @@ -20,7 +20,7 @@ import javax.annotation.Nullable; * 定义 JdbcTemplate 的 API *

* - * @author ZhouXY + * @author ZhouXY108 * @since 1.0.0 */ interface JdbcOperations { diff --git a/src/main/java/xyz/zhouxy/jdbc/ParamBuilder.java b/src/main/java/xyz/zhouxy/jdbc/ParamBuilder.java index 904216a..51b818b 100644 --- a/src/main/java/xyz/zhouxy/jdbc/ParamBuilder.java +++ b/src/main/java/xyz/zhouxy/jdbc/ParamBuilder.java @@ -41,7 +41,7 @@ import xyz.zhouxy.plusone.commons.util.OptionalTools; * JDBC 参数构造器,将数据转换为 {@code Object[]} 类型,以传给 {@link PreparedStatement} *

* - * @author ZhouXY + * @author ZhouXY108 * @since 1.0.0 */ public class ParamBuilder { diff --git a/src/main/java/xyz/zhouxy/jdbc/ResultHandler.java b/src/main/java/xyz/zhouxy/jdbc/ResultHandler.java index ff64392..cc51681 100644 --- a/src/main/java/xyz/zhouxy/jdbc/ResultHandler.java +++ b/src/main/java/xyz/zhouxy/jdbc/ResultHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ import java.sql.SQLException; * 处理 {@link ResultSet} *

* - * @author ZhouXY + * @author ZhouXY108 * @since 1.0.0 */ @FunctionalInterface diff --git a/src/main/java/xyz/zhouxy/jdbc/RowMapper.java b/src/main/java/xyz/zhouxy/jdbc/RowMapper.java index 55b93a1..6d3b1f1 100644 --- a/src/main/java/xyz/zhouxy/jdbc/RowMapper.java +++ b/src/main/java/xyz/zhouxy/jdbc/RowMapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ import java.util.Map; * {@link ResultSet} 中每一行数据的处理逻辑。 *

* - * @author ZhouXY + * @author ZhouXY108 * @since 1.0.0 */ @FunctionalInterface diff --git a/src/main/java/xyz/zhouxy/jdbc/SimpleJdbcTemplate.java b/src/main/java/xyz/zhouxy/jdbc/SimpleJdbcTemplate.java index 1710fbe..aa0f527 100644 --- a/src/main/java/xyz/zhouxy/jdbc/SimpleJdbcTemplate.java +++ b/src/main/java/xyz/zhouxy/jdbc/SimpleJdbcTemplate.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,7 +43,7 @@ import xyz.zhouxy.plusone.commons.util.OptionalTools; * 对 JDBC 的简单封装,方便数据库操作,支持事务,支持批量操作,支持自定义结果集映射 *

* - * @author ZhouXY + * @author ZhouXY108 * @since 1.0.0 */ public class SimpleJdbcTemplate implements JdbcOperations {