You can use a Ant task (through the antrun plugin) to use an external SQL client

Christophe

---------- Initial Header -----------

>From      : [EMAIL PROTECTED]
To          : [email protected]
Cc          : 
Date      : Thu, 21 Sep 2006 09:56:53 -0400
Subject : Database Initialization Prior to Testing

> 
> I need to clear and initialize a database prior to running our
> integration tests, so I can have a reliable dataset during the test
> cases.  
> 
> Are there any suggestions as to plugins or best practices for managing
> the cleaning and initialization of database contents prior to
> integration testing?
> 
> I've considered, but rejected, DBunit since the dbunit plugin doesn't
> apparently exist for Maven2 and the sql-maven-plugin, which I haven't
> yet rejected but fear the work required to maintain the insert
> statements through evolutionary schema changes.
> 
> I'm running Maven2 against an Oracle database.
> 
> Thanks,
> 
> -jason
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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

Reply via email to