File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
api/src/main/java/xyz/jonesdev/sonar/api/database/controller Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2020import com .alessiodp .libby .LibraryManager ;
2121import com .j256 .ormlite .dao .Dao ;
2222import com .j256 .ormlite .dao .DaoManager ;
23- import com .j256 .ormlite .jdbc .JdbcConnectionSource ;
23+ import com .j256 .ormlite .jdbc .JdbcPooledConnectionSource ;
2424import com .j256 .ormlite .stmt .QueryBuilder ;
2525import com .j256 .ormlite .support .ConnectionSource ;
2626import com .j256 .ormlite .table .TableUtils ;
@@ -93,7 +93,7 @@ public VerifiedPlayerController(final @NotNull LibraryManager libraryManager) {
9393 "?autoReconnect=true" );
9494 }
9595
96- connectionSource = new JdbcConnectionSource (jdbcURL ,
96+ connectionSource = new JdbcPooledConnectionSource (jdbcURL ,
9797 Sonar .get0 ().getConfig ().getGeneralConfig ().getString ("database.username" ),
9898 Sonar .get0 ().getConfig ().getGeneralConfig ().getString ("database.password" ),
9999 cachedDatabaseType .getDatabaseType ());
You can’t perform that action at this time.
0 commit comments