We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91fc347 commit a7bb44eCopy full SHA for a7bb44e
application-sql/src/main/java/ru/art/sql/module/SqlModule.java
@@ -68,6 +68,7 @@ public static SqlModuleState sqlModuleState() {
68
public void onLoad() {
69
DataSource dataSource = null;
70
try {
71
+ forName(sqlModule().getDbProvider().getDriverClassName());
72
switch (sqlModule().getConnectionPoolType()) {
73
case HIKARI:
74
HikariDataSource hikariDataSource = new HikariDataSource(sqlModule().getHikariPoolConfig());
@@ -88,7 +89,6 @@ public void onLoad() {
88
89
}
90
break;
91
- forName(sqlModule().getDbProvider().getDriverClassName());
92
sqlModule().getJooqConfiguration().set(dataSource).set(sqlModule().getJooqSettings());
93
} catch (Exception throwable) {
94
throw new SqlModuleException(throwable);
0 commit comments