![]() |
|
|
|
|
Issue Type:
|
Test
|
|
Affects Versions:
|
1.5 |
|
Assignee:
|
Unassigned |
|
Attachments:
|
pom.xml |
|
Created:
|
05/Jul/12 4:20 PM
|
|
Description:
|
I have a pom file with
<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>
If I give wrong driver or invalid password, it will give proper error message. However it always ignores the sqlcommand and says
[INFO] 0 of 0 SQL statements executed successfully
I tried srcFile too,but no luck
|
|
Environment:
|
redhat6.0
|
|
Project:
|
Maven 2.x SQL Plugin
|
|
Priority:
|
Major
|
|
Reporter:
|
Yi Mei Cai
|
|
|
|
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