I want to know if there is a java method to drop a device from the Oracle lite repository. I don't find it in the java doc. If such method does not exist maybe I could delete the Device in the repository tables? Is someone did that before?
If you want to delete a device, use the delete method from the Device class. To retrieve the Device object, use either the getDevice or getDeviceByName methods, as demonstrated below.
If the device id is available, the following can be directly used:
if (oracle.lite.resource.ResourceManager.getInstance() == null)
oracle.lite.resource.ResourceManager.initialize(JDBC_URL, USER, PASSWORD);
oracle.lite.resource.Device d =
If the device id is not available, then you can provide the device name, which is shown on the Mobile Manager UI in the oracle.lite.resource.User.getDeviceByName(deviceName) method. Once retrieved, use the delete method of the Device object as demonstrated above.