Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Dependabot keeps dependencies and GitHub Actions up to date.
# Pull requests target the dev branch. Patch and minor updates are grouped into one pull request.
version: 2
updates:
- package-ecosystem: maven
directory: /
target-branch: dev
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 10
labels:
- dependencies
groups:
maven-minor-and-patch:
update-types:
- minor
- patch
ignore:
# JavaFX stays on 17 (Java 17 runtime), Monocle is the matching test platform
- dependency-name: "org.openjfx:*"
update-types: ["version-update:semver-major"]
- dependency-name: "org.testfx:openjfx-monocle"
update-types: ["version-update:semver-major"]
# Connector/J 8.x keeps old MySQL servers working
- dependency-name: "com.mysql:mysql-connector-j"
update-types: ["version-update:semver-major"]
- dependency-name: "com.microsoft.sqlserver:mssql-jdbc"
update-types: ["version-update:semver-major"]

- package-ecosystem: github-actions
directory: /
target-branch: dev
schedule:
interval: weekly
day: monday
labels:
- dependencies
groups:
github-actions:
patterns:
- "*"
10 changes: 5 additions & 5 deletions docs/blogger/sqljam-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
A Java 17 + JavaFX desktop tool that copies tables between **MySQL, PostgreSQL, Oracle, SQL Server, H2, SQLite** and more, in any direction:
**import directly** into a target database, or save a self-describing **SQL export package** and import it later.

![SqlJam main window](../assets/main-dark.png)
![SqlJam main window](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/main-dark.png)

## 2. What Problem Does It Solve?

Expand Down Expand Up @@ -50,11 +50,11 @@ bin/

A splash screen shows the loading of the configuration, the data sources and the JDBC drivers:

<p align="center"><img src="../assets/splash.png" alt="SqlJam splash screen" width="520"></p>
<p align="center"><img src="https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/splash.png" alt="SqlJam splash screen" width="520"></p>

| 1. Log in to a data source | 2. Export wizard | 3. Progress |
|---|---|---|
| ![login](../assets/login.png) | ![export](../assets/export-wizard.png) | ![progress](../assets/progress.png) |
| ![login](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/login.png) | ![export](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/export-wizard.png) | ![progress](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/progress.png) |

## 4. Requirements

Expand All @@ -79,7 +79,7 @@ All JDBC drivers are bundled in the fat jar.

## 5. How It Works

![How it works](../assets/architecture.png)
![How it works](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/architecture.png)

```mermaid
flowchart LR
Expand Down Expand Up @@ -166,7 +166,7 @@ All settings live in `bin/sqljam.properties` next to the runnable jar. Settings

## 8. Performance

![Benchmark](../assets/benchmark.png)
![Benchmark](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/benchmark.png)

| Scenario (200,000 rows × 6 columns) | Time | Rows/s |
|---|---|---|
Expand Down
10 changes: 5 additions & 5 deletions docs/blogger/sqljam-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
一个 Java 17 + JavaFX 的桌面导入导出工具,支持 **MySQL、PostgreSQL、Oracle、SQL Server、H2、SQLite** 等数据库任意互导:
可以**直接导入目标库**,也可以导出为带描述文件的 **SQL 导出包**,之后再成对导入。

![SqlJam 主界面](../assets/main-dark.png)
![SqlJam 主界面](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/main-dark.png)

## 2. 解决什么问题?

Expand Down Expand Up @@ -50,11 +50,11 @@ bin/

启动时显示启动画面,同时加载配置、数据源和 JDBC 驱动:

<p align="center"><img src="../assets/splash.png" alt="SqlJam 启动画面" width="520"></p>
<p align="center"><img src="https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/splash.png" alt="SqlJam 启动画面" width="520"></p>

| 1. 登录数据源 | 2. 导出向导 | 3. 进度 |
|---|---|---|
| ![login](../assets/login.png) | ![export](../assets/export-wizard.png) | ![progress](../assets/progress.png) |
| ![login](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/login.png) | ![export](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/export-wizard.png) | ![progress](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/progress.png) |

## 4. Requirements

Expand All @@ -79,7 +79,7 @@ JDBC 驱动全部打进 fat jar,无需额外下载。

## 5. How It Works

![工作原理](../assets/architecture.png)
![工作原理](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/architecture.png)

```mermaid
flowchart LR
Expand Down Expand Up @@ -166,7 +166,7 @@ importer.exportDdlAndData();

## 8. Performance

![Benchmark](../assets/benchmark.png)
![Benchmark](https://raw.githubusercontent.com/paganini2008/sqljam/master/docs/assets/benchmark.png)

| 场景(20 万行 × 6 列) | 耗时 | 行/秒 |
|---|---|---|
Expand Down
21 changes: 14 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.17.0</version>
<version>3.21.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand All @@ -75,22 +75,22 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.17.2</version>
<version>2.22.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>2.17.2</version>
<version>2.22.3</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.16</version>
<version>2.0.20</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.5.8</version>
<version>1.5.38</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
Expand All @@ -104,11 +104,18 @@
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>8.4.0</version>
<!-- protobuf is only needed by the X DevAPI, not by JDBC -->
<exclusions>
<exclusion>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.4</version>
<version>42.7.13</version>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
Expand All @@ -123,7 +130,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>12.8.1.jre11</version>
<version>12.8.2.jre11</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand Down
Loading