I want to create dynamic triggers in java. Before executing an insert/delete/update i will create the trigger with the correct data it needs to work on and after the insert/delete/update is finished i will drop the trigger.
Is it okay to drop and recreate triggers dynamically through the application? If so what is the risk?