mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'fix-geofence' into 'master'
Fix invalid DAO factory handling & invalid event revoke payload See merge request entgra/carbon-device-mgt!865
This commit is contained in:
commit
aa2234dcdd
@ -21,8 +21,8 @@ package org.wso2.carbon.device.mgt.core.dao.impl.event;
|
|||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.wso2.carbon.device.mgt.common.event.config.EventConfig;
|
import org.wso2.carbon.device.mgt.common.event.config.EventConfig;
|
||||||
import org.wso2.carbon.device.mgt.core.dao.DeviceManagementDAOFactory;
|
|
||||||
import org.wso2.carbon.device.mgt.core.dao.EventManagementDAOException;
|
import org.wso2.carbon.device.mgt.core.dao.EventManagementDAOException;
|
||||||
|
import org.wso2.carbon.device.mgt.core.dao.EventManagementDAOFactory;
|
||||||
import org.wso2.carbon.device.mgt.core.dao.impl.AbstractEventConfigDAO;
|
import org.wso2.carbon.device.mgt.core.dao.impl.AbstractEventConfigDAO;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
||||||
@ -76,6 +76,6 @@ public class GenericEventConfigDAOImpl extends AbstractEventConfigDAO {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private Connection getConnection() throws SQLException {
|
private Connection getConnection() throws SQLException {
|
||||||
return DeviceManagementDAOFactory.getConnection();
|
return EventManagementDAOFactory.getConnection();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user