mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixed a bug where getBoolean wasn't used
This commit is contained in:
parent
ca8859c80a
commit
03f323d6e2
@ -99,7 +99,7 @@ public class CommandOperationDAOImpl extends GenericOperationDAOImpl {
|
|||||||
|
|
||||||
if (rs.next()) {
|
if (rs.next()) {
|
||||||
commandOperation = new CommandOperation();
|
commandOperation = new CommandOperation();
|
||||||
commandOperation.setEnabled(rs.getInt("ENABLED") != 0);
|
commandOperation.setEnabled(rs.getBoolean("ENABLED"));
|
||||||
}
|
}
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
throw new OperationManagementDAOException("SQL Error occurred while retrieving the command operation " +
|
throw new OperationManagementDAOException("SQL Error occurred while retrieving the command operation " +
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user