We have a one-time-use prebuild.sh script to create 2 databases (not the tables): a normal one and a test one.
Our integration tests are done in spring, which:
1) Boots hibernate-jpa, which does a hbm2ddl=create to create the tables
2) Fires DBunit to create testdata in that database.
Our normal runs in development for now use hbm2ddl=update.

Maven's lifecycle really isn't used in this process.

With kind regards,
Geoffrey De Smet


Wayne Fay wrote:
This is the second time you've asked, so I figured I'd reply with what
I know, which isn't much.

1) Not that I am aware of.
2) Not that I am aware of. We handle this manually with ant scripts
that run before/after our builds/deploys.

Wayne

On 8/4/07, Victor Bendig <[EMAIL PROTECTED]> wrote:
Hi,

Have a couple of questions around databases and maven,

1. Does Maven create standards for database development?
2. Is there a plugin that handles the lifecycle of the database (create,
drop, etc)

I found a sql-maven-plugin but this forces me to bind sql files to code
phases.  While this might be good when testing, I find it might be heavy if
I bind the install of my project with the database creation.

Any ideas where I can look for this?

Regards,


--
Victor Bendig



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to