The portal has database tables with information relative to ears. When i deploy an ear, the tables are updated with information above the new ear. But, when i undeploy an ear (remove it from deploy dir), the database tables aren't updated.
How can i update the database automatically?
Thanks,
Pedro