|Home > Documentation > Developer's guide > Development and deployment planning > Executing SQL statements at Deployment Time|
There may be times where you will want to execute some cleanup or initialization SQL statements during the deployment time of, say, a datasource. Below is an example of how this can be done.
The following are the dependencies used in this example:
We must specify a GBean in the connector deployment descriptor. This gbean will execute during deployment time. But it needs the following information: