File tree Expand file tree Collapse file tree 9 files changed +18
-13
lines changed
src/main/java/cc/carm/plugin/minesql Expand file tree Collapse file tree 9 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >minesql-parent</artifactId >
7
7
<groupId >cc.carm.plugin</groupId >
8
- <version >1.4.0 </version >
8
+ <version >1.4.1 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >minesql-parent</artifactId >
7
7
<groupId >cc.carm.plugin</groupId >
8
- <version >1.4.0 </version >
8
+ <version >1.4.1 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
<properties >
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ public static MineSQLCore getInstance() {
124
124
}
125
125
126
126
@ Override
127
- public @ NotNull SQLManagerImpl create (@ NotNull String name , @ NotNull SQLSourceConfig conf ) {
127
+ public @ NotNull SQLManagerImpl create (@ NotNull String name , @ NotNull SQLSourceConfig conf ) throws Exception {
128
128
BeeDataSourceConfig config = new BeeDataSourceConfig ();
129
129
config .setDriverClassName (conf .getDriverClassName ());
130
130
config .setJdbcUrl (conf .getJdbcURL ());
@@ -147,7 +147,12 @@ public static MineSQLCore getInstance() {
147
147
Optional .ofNullable (conf .getSettings ().getValidationTimeout ()).ifPresent (config ::setValidTestTimeout );
148
148
Optional .ofNullable (conf .getSettings ().getValidationInterval ()).ifPresent (config ::setValidAssumeTime );
149
149
150
- return create (name , config );
150
+ SQLManagerImpl manager = create (name , config );
151
+ if (conf .getInitializer () != null ) {
152
+ conf .getInitializer ().accept (manager );
153
+ }
154
+
155
+ return manager ;
151
156
}
152
157
153
158
@ Override
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >minesql-parent</artifactId >
7
7
<groupId >cc.carm.plugin</groupId >
8
- <version >1.4.0 </version >
8
+ <version >1.4.1 </version >
9
9
<relativePath >../../pom.xml</relativePath >
10
10
</parent >
11
11
<modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >minesql-parent</artifactId >
7
7
<groupId >cc.carm.plugin</groupId >
8
- <version >1.4.0 </version >
8
+ <version >1.4.1 </version >
9
9
<relativePath >../../pom.xml</relativePath >
10
10
</parent >
11
11
<modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >minesql-parent</artifactId >
7
7
<groupId >cc.carm.plugin</groupId >
8
- <version >1.4.0 </version >
8
+ <version >1.4.1 </version >
9
9
<relativePath >../../pom.xml</relativePath >
10
10
</parent >
11
11
<modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >minesql-parent</artifactId >
7
7
<groupId >cc.carm.plugin</groupId >
8
- <version >1.4.0 </version >
8
+ <version >1.4.1 </version >
9
9
<relativePath >../../pom.xml</relativePath >
10
10
</parent >
11
11
<modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >minesql-parent</artifactId >
7
7
<groupId >cc.carm.plugin</groupId >
8
- <version >1.4.0 </version >
8
+ <version >1.4.1 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
<properties >
Original file line number Diff line number Diff line change 12
12
<maven .compiler.encoding>UTF-8</maven .compiler.encoding>
13
13
14
14
<deps .easysql.version>0.4.7</deps .easysql.version>
15
- <deps .easyconf.version>3.3 .1</deps .easyconf.version>
16
- <deps .easyplugin.version>1.4.18 </deps .easyplugin.version>
15
+ <deps .easyconf.version>3.5 .1</deps .easyconf.version>
16
+ <deps .easyplugin.version>1.5.5 </deps .easyplugin.version>
17
17
<deps .beecp.version>3.3.9</deps .beecp.version>
18
18
19
19
<deps .libby.version>1.1.5</deps .libby.version>
30
30
<groupId >cc.carm.plugin</groupId >
31
31
<artifactId >minesql-parent</artifactId >
32
32
<packaging >pom</packaging >
33
- <version >1.4.0 </version >
33
+ <version >1.4.1 </version >
34
34
<modules >
35
35
<module >api</module >
36
36
<module >core</module >
128
128
<dependency >
129
129
<groupId >org.jetbrains</groupId >
130
130
<artifactId >annotations</artifactId >
131
- <version >23.1.0 </version >
131
+ <version >24.0.1 </version >
132
132
<scope >provided</scope >
133
133
</dependency >
134
134
You can’t perform that action at this time.
0 commit comments