mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
change link
This commit is contained in:
@@ -148,7 +148,7 @@ public interface Dialect extends Serializable {
|
||||
* @since 5.7.2
|
||||
*/
|
||||
default PreparedStatement psForCount(Connection conn, SqlBuilder sqlBuilder) throws SQLException {
|
||||
// https://gitee.com/dromara/hutool/issues/I713XQ
|
||||
// https://gitee.com/chinabugotech/hutool/issues/I713XQ
|
||||
// 为了兼容informix等数据库,此处使用count(*)而非count(1)
|
||||
sqlBuilder = sqlBuilder
|
||||
.insertPreFragment("SELECT count(*) from(")
|
||||
|
@@ -122,7 +122,7 @@ public class DbTest {
|
||||
@Test
|
||||
@Disabled
|
||||
public void queryFetchTest() throws SQLException {
|
||||
// https://gitee.com/dromara/hutool/issues/I4JXWN
|
||||
// https://gitee.com/chinabugotech/hutool/issues/I4JXWN
|
||||
Db.use().query((conn->{
|
||||
PreparedStatement ps = conn.prepareStatement("select * from table",
|
||||
ResultSet.TYPE_FORWARD_ONLY,
|
||||
|
@@ -91,7 +91,7 @@ public class DsTest {
|
||||
|
||||
@Test
|
||||
public void c3p0DsUserAndPassTest() {
|
||||
// https://gitee.com/dromara/hutool/issues/I4T7XZ
|
||||
// https://gitee.com/chinabugotech/hutool/issues/I4T7XZ
|
||||
DSFactory.setCurrentDSFactory(new C3p0DSFactory());
|
||||
ComboPooledDataSource ds = (ComboPooledDataSource) ((DataSourceWrapper) DSFactory.get("mysql")).getRaw();
|
||||
assertEquals("root", ds.getUser());
|
||||
|
@@ -19,7 +19,7 @@ import org.junit.jupiter.api.Test;
|
||||
import java.sql.SQLException;
|
||||
|
||||
/**
|
||||
* https://gitee.com/dromara/hutool/issues/I73770
|
||||
* https://gitee.com/chinabugotech/hutool/issues/I73770
|
||||
*/
|
||||
public class IssueI73770Test {
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user