From 0120a42fc52d9e55bc22a450e35a24b2d844b8ad Mon Sep 17 00:00:00 2001
From: 邹裕 <2723363702@qq.com>
Date: 星期二, 22 九月 2026 17:32:55 +0800
Subject: [PATCH] 修复ucanaccess查询中文排序mdb数据库导致索引失效查询缓慢问题
---
pom.xml | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 5881d1f..9f9af28 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,6 +15,16 @@
</properties>
<dependencies>
<dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.19.0</version>
+ </dependency>
+ <dependency>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>2.0.23</version>
@@ -28,6 +38,16 @@
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>42.7.7</version> <!-- 寤鸿浣跨敤杈冩柊绋冲畾鐗� -->
+ </dependency>
+ <dependency>
+ <groupId>com.zaxxer</groupId>
+ <artifactId>HikariCP</artifactId>
+ <version>4.0.3</version>
+ </dependency>
<!--lombok-->
<dependency>
<groupId>org.projectlombok</groupId>
@@ -62,7 +82,12 @@
<artifactId>poi-ooxml-full</artifactId>
<version>5.2.5</version>
</dependency>
-
+ <dependency>
+ <groupId>com.microsoft.sqlserver</groupId>
+ <artifactId>mssql-jdbc</artifactId>
+ <version>12.4.0.jre8</version> <!-- 閫傞厤 Java 8锛屽叾浠栫増鏈彲璋冩暣 -->
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
@@ -78,6 +103,26 @@
<groupId>net.sf.ucanaccess</groupId>
<artifactId>ucanaccess</artifactId>
<version>5.0.1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.healthmarketscience.jackcess</groupId>
+ <artifactId>jackcess</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <!-- Source: https://mvnrepository.com/artifact/com.healthmarketscience.jackcess/jackcess -->
+ <dependency>
+ <groupId>com.healthmarketscience.jackcess</groupId>
+ <artifactId>jackcess</artifactId>
+ <version>4.0.10</version>
+ <scope>compile</scope>
+ </dependency>
+ <!-- 鎵撳紑璁剧疆浜嗗瘑鐮佺殑 Access 鏂囦欢锛�.mdb/.accdb锛夐渶瑕佸畠 -->
+ <dependency>
+ <groupId>com.healthmarketscience.jackcess</groupId>
+ <artifactId>jackcess-encrypt</artifactId>
+ <version>4.0.3</version>
+ <scope>compile</scope>
</dependency>
<dependency>
@@ -133,7 +178,7 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<configuration>
- <mainClass>com.chinaztt.mes.docx.DataAcquisitionApplication</mainClass>
+ <mainClass>com.hwtd.mes.collect.DataAcquisitionApplication</mainClass>
<skip>false</skip>
</configuration>
<executions>
--
Gitblit v1.9.3