mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-06 05:38:00 +08:00
deprecated code
This commit is contained in:
parent
1e82d7bd5f
commit
3a043a261e
@ -22,6 +22,7 @@
|
|||||||
* 【crypto 】 增加CipherWrapper,增加setRandom(issue#1958@Github)
|
* 【crypto 】 增加CipherWrapper,增加setRandom(issue#1958@Github)
|
||||||
* 【core 】 Opt增加ofTry方法(pr#1956@Github)
|
* 【core 】 Opt增加ofTry方法(pr#1956@Github)
|
||||||
* 【core 】 DateUtil.toIntSecond标记为弃用(issue#I4JHPR@Gitee)
|
* 【core 】 DateUtil.toIntSecond标记为弃用(issue#I4JHPR@Gitee)
|
||||||
|
* 【db 】 Db.executeBatch标记一个重载为弃用(issue#I4JIPH@Gitee)
|
||||||
*
|
*
|
||||||
### 🐞Bug修复
|
### 🐞Bug修复
|
||||||
* 【core 】 修复FileResource构造fileName参数无效问题(issue#1942@Github)
|
* 【core 】 修复FileResource构造fileName参数无效问题(issue#1942@Github)
|
||||||
|
@ -239,7 +239,9 @@ public abstract class AbstractDb implements Serializable {
|
|||||||
* @param paramsBatch 批量的参数
|
* @param paramsBatch 批量的参数
|
||||||
* @return 每个SQL执行影响的行数
|
* @return 每个SQL执行影响的行数
|
||||||
* @throws SQLException SQL执行异常
|
* @throws SQLException SQL执行异常
|
||||||
|
* @deprecated 编译器无法区分重载
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public int[] executeBatch(String sql, Object[]... paramsBatch) throws SQLException {
|
public int[] executeBatch(String sql, Object[]... paramsBatch) throws SQLException {
|
||||||
Connection conn = null;
|
Connection conn = null;
|
||||||
try {
|
try {
|
||||||
|
@ -154,7 +154,9 @@ public class SqlExecutor {
|
|||||||
* @param paramsBatch 批量的参数
|
* @param paramsBatch 批量的参数
|
||||||
* @return 每个SQL执行影响的行数
|
* @return 每个SQL执行影响的行数
|
||||||
* @throws SQLException SQL执行异常
|
* @throws SQLException SQL执行异常
|
||||||
|
* @deprecated 重载导致编译器无法区分
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static int[] executeBatch(Connection conn, String sql, Object[]... paramsBatch) throws SQLException {
|
public static int[] executeBatch(Connection conn, String sql, Object[]... paramsBatch) throws SQLException {
|
||||||
return executeBatch(conn, sql, new ArrayIter<>(paramsBatch));
|
return executeBatch(conn, sql, new ArrayIter<>(paramsBatch));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user