mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
gts
This commit is contained in:
@@ -188,7 +188,7 @@
|
||||
<dependency>
|
||||
<groupId>com.sap.cloud.db.jdbc</groupId>
|
||||
<artifactId>ngdbc</artifactId>
|
||||
<version>2.24.6</version>
|
||||
<version>2.24.7</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
@@ -21,7 +21,11 @@ import java.util.List;
|
||||
* @author daoyou.dev
|
||||
*/
|
||||
public class HanaDialect extends AnsiSqlDialect {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 构造
|
||||
*/
|
||||
public HanaDialect() {
|
||||
wrapper = new Wrapper('"');
|
||||
}
|
||||
|
@@ -1,7 +1,6 @@
|
||||
package cn.hutool.db;
|
||||
|
||||
import cn.hutool.core.lang.Console;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@@ -16,7 +15,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
* @author daoyou.dev
|
||||
*/
|
||||
public class HanaTest {
|
||||
@BeforeAll
|
||||
//@BeforeAll
|
||||
public static void createTable() throws SQLException {
|
||||
Db db = Db.use("hana");
|
||||
long count = db.count("SELECT * FROM SYS.TABLES WHERE TABLE_NAME = ? AND SCHEMA_NAME = CURRENT_SCHEMA", "user");
|
||||
@@ -77,6 +76,7 @@ public class HanaTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
public void upsertTest() throws SQLException {
|
||||
DbUtil.setReturnGeneratedKeyGlobal(false);
|
||||
Db db = Db.use("hana");
|
||||
|
Reference in New Issue
Block a user