mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
feat(all): Modify Project Package Name cn.hutool->org.dromara.hutool
BREAKING CHANGE: 包名变更 Closes https://gitee.com/dromara/hutool/issues/I6SC4B
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.core.collection.ListUtil;
|
||||
import cn.hutool.core.lang.Console;
|
||||
import cn.hutool.core.map.MapUtil;
|
||||
import cn.hutool.db.handler.EntityListHandler;
|
||||
import cn.hutool.db.pojo.User;
|
||||
import cn.hutool.db.sql.Condition;
|
||||
import cn.hutool.db.sql.Condition.LikeType;
|
||||
import org.dromara.hutool.core.collection.ListUtil;
|
||||
import org.dromara.hutool.core.lang.Console;
|
||||
import org.dromara.hutool.core.map.MapUtil;
|
||||
import org.dromara.hutool.db.handler.EntityListHandler;
|
||||
import org.dromara.hutool.db.pojo.User;
|
||||
import org.dromara.hutool.db.sql.Condition;
|
||||
import org.dromara.hutool.db.sql.Condition.LikeType;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
10
hutool-db/src/test/java/cn/hutool/db/ConcurentTest.java → hutool-db/src/test/java/org/dromara/hutool/db/ConcurentTest.java
Executable file → Normal file
10
hutool-db/src/test/java/cn/hutool/db/ConcurentTest.java → hutool-db/src/test/java/org/dromara/hutool/db/ConcurentTest.java
Executable file → Normal file
@@ -1,9 +1,9 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.core.collection.ListUtil;
|
||||
import cn.hutool.core.lang.Console;
|
||||
import cn.hutool.core.thread.ThreadUtil;
|
||||
import cn.hutool.db.handler.EntityListHandler;
|
||||
import org.dromara.hutool.core.collection.ListUtil;
|
||||
import org.dromara.hutool.core.lang.Console;
|
||||
import org.dromara.hutool.core.thread.ThreadUtil;
|
||||
import org.dromara.hutool.db.handler.EntityListHandler;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,8 +1,8 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.db.handler.EntityListHandler;
|
||||
import cn.hutool.db.sql.Condition;
|
||||
import cn.hutool.log.StaticLog;
|
||||
import org.dromara.hutool.db.handler.EntityListHandler;
|
||||
import org.dromara.hutool.db.sql.Condition;
|
||||
import org.dromara.hutool.log.StaticLog;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
@@ -1,15 +1,15 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.core.collection.CollUtil;
|
||||
import cn.hutool.db.ds.DSUtil;
|
||||
import cn.hutool.db.ds.DSWrapper;
|
||||
import cn.hutool.db.ds.bee.BeeDSFactory;
|
||||
import cn.hutool.db.ds.c3p0.C3p0DSFactory;
|
||||
import cn.hutool.db.ds.dbcp.DbcpDSFactory;
|
||||
import cn.hutool.db.ds.druid.DruidDSFactory;
|
||||
import cn.hutool.db.ds.hikari.HikariDSFactory;
|
||||
import cn.hutool.db.ds.pooled.PooledDSFactory;
|
||||
import cn.hutool.db.ds.tomcat.TomcatDSFactory;
|
||||
import org.dromara.hutool.core.collection.CollUtil;
|
||||
import org.dromara.hutool.db.ds.DSUtil;
|
||||
import org.dromara.hutool.db.ds.DSWrapper;
|
||||
import org.dromara.hutool.db.ds.bee.BeeDSFactory;
|
||||
import org.dromara.hutool.db.ds.c3p0.C3p0DSFactory;
|
||||
import org.dromara.hutool.db.ds.dbcp.DbcpDSFactory;
|
||||
import org.dromara.hutool.db.ds.druid.DruidDSFactory;
|
||||
import org.dromara.hutool.db.ds.hikari.HikariDSFactory;
|
||||
import org.dromara.hutool.db.ds.pooled.PooledDSFactory;
|
||||
import org.dromara.hutool.db.ds.tomcat.TomcatDSFactory;
|
||||
import com.mchange.v2.c3p0.ComboPooledDataSource;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,6 +1,6 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.db.pojo.User;
|
||||
import org.dromara.hutool.db.pojo.User;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.db.pojo.User;
|
||||
import org.dromara.hutool.db.pojo.User;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,7 +1,7 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.core.map.CaseInsensitiveMap;
|
||||
import cn.hutool.core.map.MapUtil;
|
||||
import org.dromara.hutool.core.map.CaseInsensitiveMap;
|
||||
import org.dromara.hutool.core.map.MapUtil;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
4
hutool-db/src/test/java/cn/hutool/db/MySQLTest.java → hutool-db/src/test/java/org/dromara/hutool/db/MySQLTest.java
Executable file → Normal file
4
hutool-db/src/test/java/cn/hutool/db/MySQLTest.java → hutool-db/src/test/java/org/dromara/hutool/db/MySQLTest.java
Executable file → Normal file
@@ -1,6 +1,6 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.core.lang.Console;
|
||||
import org.dromara.hutool.core.lang.Console;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,7 +1,7 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.core.map.MapUtil;
|
||||
import cn.hutool.db.sql.NamedSql;
|
||||
import org.dromara.hutool.core.map.MapUtil;
|
||||
import org.dromara.hutool.db.sql.NamedSql;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
10
hutool-db/src/test/java/cn/hutool/db/OracleTest.java → hutool-db/src/test/java/org/dromara/hutool/db/OracleTest.java
Executable file → Normal file
10
hutool-db/src/test/java/cn/hutool/db/OracleTest.java → hutool-db/src/test/java/org/dromara/hutool/db/OracleTest.java
Executable file → Normal file
@@ -1,9 +1,9 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.core.lang.Console;
|
||||
import cn.hutool.db.sql.Query;
|
||||
import cn.hutool.db.sql.SqlBuilder;
|
||||
import cn.hutool.db.sql.SqlUtil;
|
||||
import org.dromara.hutool.core.lang.Console;
|
||||
import org.dromara.hutool.db.sql.Query;
|
||||
import org.dromara.hutool.db.sql.SqlBuilder;
|
||||
import org.dromara.hutool.db.sql.SqlUtil;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,6 +1,6 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.db.sql.Order;
|
||||
import org.dromara.hutool.db.sql.Order;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.core.collection.ListUtil;
|
||||
import cn.hutool.core.io.file.FileUtil;
|
||||
import cn.hutool.core.text.StrUtil;
|
||||
import org.dromara.hutool.core.collection.ListUtil;
|
||||
import org.dromara.hutool.core.io.file.FileUtil;
|
||||
import org.dromara.hutool.core.text.StrUtil;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.core.lang.Console;
|
||||
import org.dromara.hutool.core.lang.Console;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
4
hutool-db/src/test/java/cn/hutool/db/SqlServerTest.java → hutool-db/src/test/java/org/dromara/hutool/db/SqlServerTest.java
Executable file → Normal file
4
hutool-db/src/test/java/cn/hutool/db/SqlServerTest.java → hutool-db/src/test/java/org/dromara/hutool/db/SqlServerTest.java
Executable file → Normal file
@@ -1,6 +1,6 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import cn.hutool.core.lang.Console;
|
||||
import org.dromara.hutool.core.lang.Console;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db;
|
||||
package org.dromara.hutool.db;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
@@ -1,13 +1,13 @@
|
||||
package cn.hutool.db.dialect;
|
||||
package org.dromara.hutool.db.dialect;
|
||||
|
||||
import cn.hutool.core.util.RandomUtil;
|
||||
import org.dromara.hutool.core.util.RandomUtil;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import static cn.hutool.db.dialect.DriverNamePool.*;
|
||||
import static org.dromara.hutool.db.dialect.DriverNamePool.*;
|
||||
|
||||
public class DialectFactoryTest {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db.dialect;
|
||||
package org.dromara.hutool.db.dialect;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,6 +1,6 @@
|
||||
package cn.hutool.db.ds;
|
||||
package org.dromara.hutool.db.ds;
|
||||
|
||||
import cn.hutool.db.ds.simple.SimpleDataSource;
|
||||
import org.dromara.hutool.db.ds.simple.SimpleDataSource;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package cn.hutool.db.meta;
|
||||
package org.dromara.hutool.db.meta;
|
||||
|
||||
import cn.hutool.core.collection.SetUtil;
|
||||
import cn.hutool.core.text.StrUtil;
|
||||
import cn.hutool.core.text.split.SplitUtil;
|
||||
import cn.hutool.db.ds.DSUtil;
|
||||
import org.dromara.hutool.core.collection.SetUtil;
|
||||
import org.dromara.hutool.core.text.StrUtil;
|
||||
import org.dromara.hutool.core.text.split.SplitUtil;
|
||||
import org.dromara.hutool.db.ds.DSUtil;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db.pojo;
|
||||
package org.dromara.hutool.db.pojo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
/**
|
||||
* 测试pojo
|
||||
*/
|
||||
package cn.hutool.db.pojo;
|
||||
package org.dromara.hutool.db.pojo;
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db.sql;
|
||||
package org.dromara.hutool.db.sql;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,6 +1,6 @@
|
||||
package cn.hutool.db.sql;
|
||||
package org.dromara.hutool.db.sql;
|
||||
|
||||
import cn.hutool.core.collection.ListUtil;
|
||||
import org.dromara.hutool.core.collection.ListUtil;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db.sql;
|
||||
package org.dromara.hutool.db.sql;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db.sql;
|
||||
package org.dromara.hutool.db.sql;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -1,4 +1,4 @@
|
||||
package cn.hutool.db.sql;
|
||||
package org.dromara.hutool.db.sql;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
Reference in New Issue
Block a user