I have been researching on creating Triggers in java db, actually I am developing a desktop application, and I want to be able to package it so that it can be installed on other users computers without them having to install a DBMS. I know of how to create triggers in MYSql db, but packaging a java application with mysql is kinda complicated as compared to packaging one that uses Java DB but I haven't found a clear way of creating triggers in java db that fires after or before insert, update and delete. Is there anyone who has a clear way out, your help will be highly appreciated.