Change By: Robert Scholte (06/Jul/12 12:45 PM)
Description: I have a pom file with 
{code:xml}
<plugin>
   <groupId>org.codehaus.mojo</groupId>
<artifactId>sql-maven-plugin</artifactId>
<version>1.5</version>
<dependencies>
   <dependency>
             <groupId>com.ibm.db2.jcc</groupId> 
      <artifactId>db2jcc4</artifactId> 
      <version>1.0</version> 
           </dependency>
</dependencies>
<configuration>
   <driver>com.ibm.db2.jcc.DB2Driver</driver>
   <url>jdbc:db2://db2-dev-ny:50000/soatest</url>
   <username>db2inst1</username>
   <password>password</password>
</configuration>
<executions>
   <execution>
<id>apply-db-schema</id>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<autocommit>true</autocommit>
<onError>continue</onError>
<delimiter>;</delimiter>
<printResultSet>true</printResultSet>
<sqlCommand>create sequence Seq_StaffAssc_Id;</sqlCommand>
</configuration>
</execution>
   </executions>
</plugin>
{code}

If I give wrong driver or invalid password, it will give proper error message. However it always ignores the sqlcommand and says 
{noformat} [INFO] 0 of 0 SQL statements executed successfully {noformat}

I tried
 {{  srcFile }}  too,but no luck
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to