Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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.

...

  • my-sql.jar containing the .sql files to be executed (this has nothing to do with MySQL, it's just a jar file containing .sql files, nothing more).

How it works

We must specify a GBean in the connector deployment descriptor. This gbean will execute during
deployment time. But it needs the following information:

...