change
This commit is contained in:
parent
71543cf085
commit
b7a3581cc0
|
@ -8,18 +8,16 @@
|
||||||
修改 `src/main/resources/applicationContext.xml` 文件中 TDengine 的配置信息:
|
修改 `src/main/resources/applicationContext.xml` 文件中 TDengine 的配置信息:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
|
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
||||||
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
|
||||||
<property name="driverClassName" value="com.taosdata.jdbc.TSDBDriver"></property>
|
<property name="driverClassName" value="com.taosdata.jdbc.TSDBDriver"></property>
|
||||||
<property name="url" value="jdbc:TAOS://127.0.0.1:6030/log"></property>
|
<property name="url" value="jdbc:TAOS://127.0.0.1:6030/log"></property>
|
||||||
<property name="username" value="root"></property>
|
<property name="username" value="root"></property>
|
||||||
<property name="password" value="taosdata"></property>
|
<property name="password" value="taosdata"></property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
<bean id = "jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate" >
|
||||||
<bean id = "jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate" >
|
|
||||||
<property name="dataSource" ref = "dataSource" ></property>
|
<property name="dataSource" ref = "dataSource" ></property>
|
||||||
</bean>
|
</bean>
|
||||||
```
|
```
|
||||||
|
|
||||||
### 打包运行
|
### 打包运行
|
||||||
|
|
Loading…
Reference in New Issue