Merge branch 'fix-app-uninstall' into 'master'

Fix error in unmanaged app uninstall

See merge request entgra/carbon-device-mgt!749
master
Dharmakeerthi Lasantha 4 years ago
commit d5f3b32fd0

@ -941,7 +941,7 @@ public class GenericSubscriptionDAOImpl extends AbstractDAOImpl implements Subsc
"ON " + "ON " +
"AP_DEVICE_SUBSCRIPTION.AP_APP_RELEASE_ID = AP_APP_RELEASE.AP_APP_ID " + "AP_DEVICE_SUBSCRIPTION.AP_APP_RELEASE_ID = AP_APP_RELEASE.AP_APP_ID " +
"WHERE PACKAGE_NAME = ? " + "WHERE PACKAGE_NAME = ? " +
"AND DM_DEVICE_ID = ?" + "AND DM_DEVICE_ID = ? " +
"AND UNSUBSCRIBED = 'FALSE' " + "AND UNSUBSCRIBED = 'FALSE' " +
"AND STATUS = 'COMPLETED';"; "AND STATUS = 'COMPLETED';";
try (PreparedStatement stmt = conn.prepareStatement(sql)) { try (PreparedStatement stmt = conn.prepareStatement(sql)) {

Loading…
Cancel
Save