mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-06 07:32:46 +00:00
Updates dependencies to latest versions
This commit is contained in:
@@ -270,7 +270,7 @@ public abstract class AbstractOrientDatabaseService extends
|
||||
CSVUtils.parseCSV(path, new CSVMapProcessor<Object>() {
|
||||
@Override
|
||||
public Object process(Map<String, String> map) {
|
||||
final ODocument document = new ODocument(database, entity
|
||||
final ODocument document = new ODocument(entity
|
||||
.getTableName());
|
||||
for (final Entry<String, String> entry : map.entrySet()) {
|
||||
document.field(entry.getKey(), entry.getValue());
|
||||
@@ -602,7 +602,7 @@ public abstract class AbstractOrientDatabaseService extends
|
||||
if (testDesire(object))
|
||||
continue;
|
||||
|
||||
row.setDocument(new ODocument(database, entity.getTableName()));
|
||||
row.setDocument(new ODocument(entity.getTableName()));
|
||||
|
||||
mapper.insert(entity, object, row);
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ public abstract class AbstractSQLDatabaseService extends
|
||||
/**
|
||||
* The database connection pool
|
||||
*/
|
||||
private GenericObjectPool connectionPool;
|
||||
private GenericObjectPool<Connection> connectionPool;
|
||||
/**
|
||||
* The dayabase connection factory
|
||||
*/
|
||||
@@ -200,7 +200,7 @@ public abstract class AbstractSQLDatabaseService extends
|
||||
"DatabaseEngine instance not found", e);
|
||||
}
|
||||
|
||||
connectionPool = new GenericObjectPool(null);
|
||||
connectionPool = new GenericObjectPool<Connection>(null);
|
||||
connectionPool.setMaxActive(config.getMaxActiveConnections());
|
||||
connectionPool.setMinIdle(config.getMinIdleConnections());
|
||||
connectionPool.setMaxIdle(config.getMaxIdleConnections());
|
||||
|
||||
Reference in New Issue
Block a user