change
This commit is contained in:
parent
e05a07e504
commit
0b6e8c0a97
|
@ -197,7 +197,8 @@ public class TSDBConnection implements Connection {
|
||||||
|
|
||||||
public SQLWarning getWarnings() throws SQLException {
|
public SQLWarning getWarnings() throws SQLException {
|
||||||
//todo: implement getWarnings according to the warning messages returned from TDengine
|
//todo: implement getWarnings according to the warning messages returned from TDengine
|
||||||
throw new SQLException(TSDBConstants.UNSUPPORT_METHOD_EXCEPTIONZ_MSG);
|
return null;
|
||||||
|
// throw new SQLException(TSDBConstants.UNSUPPORT_METHOD_EXCEPTIONZ_MSG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearWarnings() throws SQLException {
|
public void clearWarnings() throws SQLException {
|
||||||
|
|
|
@ -77,6 +77,20 @@
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<version>2.17</version>
|
||||||
|
<configuration>
|
||||||
|
<includes>
|
||||||
|
<include>**/*Test.java</include>
|
||||||
|
</includes>
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/Abstract*.java</exclude>
|
||||||
|
</excludes>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ spring:
|
||||||
driver-class-name: com.taosdata.jdbc.TSDBDriver
|
driver-class-name: com.taosdata.jdbc.TSDBDriver
|
||||||
url: jdbc:TAOS://master:6030/mp_test
|
url: jdbc:TAOS://master:6030/mp_test
|
||||||
user: root
|
user: root
|
||||||
password: 123456
|
password: taosdata
|
||||||
|
|
||||||
# driver-class-name: com.mysql.jdbc.Driver
|
# driver-class-name: com.mysql.jdbc.Driver
|
||||||
# url: jdbc:mysql://master:3306/test?useSSL=false
|
# url: jdbc:mysql://master:3306/test?useSSL=false
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
package com.taosdata.example.mybatisplusdemo.mapper;
|
package com.taosdata.example.mybatisplusdemo.mapper;
|
||||||
|
|
||||||
|
|
||||||
import com.taosdata.example.mybatisplusdemo.domain.Weather;
|
import com.taosdata.example.mybatisplusdemo.domain.Weather;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
import org.springframework.test.context.junit4.SpringRunner;
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringJUnit4ClassRunner.class)
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
public class WeatherMapperTest {
|
public class WeatherMapperTest {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue