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 | 34 ++++++++++++++++++++++++++++++++--
1 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 8ae6c48..9f9af28 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,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>
@@ -75,7 +85,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
- <version>12.4.1.jre8</version> <!-- 閫傞厤 Java 8锛屽叾浠栫増鏈彲璋冩暣 -->
+ <version>12.4.0.jre8</version> <!-- 閫傞厤 Java 8锛屽叾浠栫増鏈彲璋冩暣 -->
<scope>runtime</scope>
</dependency>
<dependency>
@@ -93,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>
@@ -148,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