# jdbc-mongodb-driver **Repository Path**: inrgihc/jdbc-mongodb-driver ## Basic Information - **Project Name**: jdbc-mongodb-driver - **Description**: dbswitch所使用的mongodb的jdbc驱动jar项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-09 - **Last Updated**: 2024-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jdbc-mongodb-driver ## 一、介绍 dbswitch项目所使用的MongoDB的jdbc驱动项目。 dbswich托管项目地址:https://gitee.com/inrgihc/dbswitch ## 二、编译 - 环境 **JDK**:>=1.8 (建议用JDK 1.8) **maven**:>=3.6 > Maven 仓库默认在国外, 国内使用难免很慢,可以更换为阿里云的仓库。 参考教程: [配置阿里云的仓库教程](https://www.runoob.com/maven/maven-repositories.html) - 编译 ``` mvn clean package -DskipTests=true ``` 编译完成后,会生产驱动jar文件target/mongodb-jdbc-driver-4.10.2-jar-with-dependencies.jar: ``` # ls -l total 10 -rw-r--r-- 1 inrgihc 197121 7 12月 10 19:13 LICENSE -rw-r--r-- 1 inrgihc 197121 2362 12月 10 19:13 pom.xml -rw-r--r-- 1 inrgihc 197121 513 1月 9 20:45 README.md drwxr-xr-x 1 inrgihc 197121 0 12月 10 19:13 src/ drwxr-xr-x 1 inrgihc 197121 0 1月 9 20:45 target/ # ls -l target/mongodb-jdbc-driver-4.10.2-jar-with-dependencies.jar -rw-r--r-- 1 inrgihc 197121 28472859 1月 9 20:45 target/mongodb-jdbc-driver-4.10.2-jar-with-dependencies.jar ``` 将该jar文件复制到dbswitch项目的dbswitch/drivers/mongodb/mongo-4.10目录下即可。 ## 三、问题反馈 如果您看到并使用了本工具,或您觉得本工具对您有价值,请为此项目**点个赞**,以表示对本项目的支持,多谢!如果您在使用时遇到了bug,欢迎在issue中反馈。也可扫描下方二维码入群讨论:(加好友请注明:"程序交流") ![structure](https://gitee.com/inrgihc/dbswitch/raw/master/images/weixin.PNG)