Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addText(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Set an inline SQL command to execute.
C
- clear() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- containsSqlEnd(String, String, int) - Static method in class org.codehaus.mojo.sql.SqlSplitter
-
Check if the given sql line contains a delimiter representing the end of the command.
- containsValue(String) - Method in class org.codehaus.mojo.sql.DelimiterType
-
Is this value included in the enumeration?
- createTransaction() - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Add a SQL transaction to execute
D
- DEFAULT_DELIMITER - Static variable in class org.codehaus.mojo.sql.SqlExecMojo
-
The default SQL delimiter which is used to separate statements.
- DelimiterType - Class in org.codehaus.mojo.sql
- DelimiterType() - Constructor for class org.codehaus.mojo.sql.DelimiterType
-
bean constructor
E
- execute() - Method in class org.codehaus.mojo.sql_maven_plugin.HelpMojo
- execute() - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Load the sql file and then execute it
- executeSqlCore() - Method in class org.codehaus.mojo.sql.SqlExecMojo
F
- FILE_SORTING_ASC - Static variable in class org.codehaus.mojo.sql.SqlExecMojo
-
Call
SqlExecMojo.setOrderFile(String)
with this value to sort in ascendant order the sql files. - FILE_SORTING_DSC - Static variable in class org.codehaus.mojo.sql.SqlExecMojo
-
Call
SqlExecMojo.setOrderFile(String)
with this value to sort in descendant order the sql files. - Fileset - Class in org.codehaus.mojo.sql
- Fileset() - Constructor for class org.codehaus.mojo.sql.Fileset
G
- getConnectionRetryAttempts() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- getDriver() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- getDriverProperties() - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
parse driverProperties into Properties set
- getIndex() - Method in class org.codehaus.mojo.sql.DelimiterType
- getOnError() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- getOrderFile() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- getPassword() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- getSqlCommand() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- getSrcFiles() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- getSuccessfulStatements() - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Number of SQL statements executed so far that caused errors.
- getTotalStatements() - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Number of SQL statements executed so far, including the ones that caused errors.
- getTransactions() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- getUrl() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- getUsername() - Method in class org.codehaus.mojo.sql.SqlExecMojo
- getValue() - Method in class org.codehaus.mojo.sql.DelimiterType
- getValues() - Method in class org.codehaus.mojo.sql.DelimiterType
-
This is the only method a subclass needs to implement.
H
- HelpMojo - Class in org.codehaus.mojo.sql_maven_plugin
-
Display help information on sql-maven-plugin.
Callmvn sql:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Constructor for class org.codehaus.mojo.sql_maven_plugin.HelpMojo
I
- indexOfValue(String) - Method in class org.codehaus.mojo.sql.DelimiterType
-
get the index of a value in this enumeration.
- isConnectionClosed() - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Check is the database connection closed.
N
- NO_END - Static variable in class org.codehaus.mojo.sql.SqlSplitter
-
Value indicating the sql has no end-delimiter like i.e.
- NORMAL - Static variable in class org.codehaus.mojo.sql.DelimiterType
O
- ON_ERROR_ABORT - Static variable in class org.codehaus.mojo.sql.SqlExecMojo
-
Call
SqlExecMojo.setOnError(String)
with this value to abort SQL command execution if an error is found. - ON_ERROR_ABORT_AFTER - Static variable in class org.codehaus.mojo.sql.SqlExecMojo
-
Call
SqlExecMojo.setOnError(String)
with this value to continue SQL command execution until all commands have been attempted, then abort the build if an SQL error occurred in any of the commands. - ON_ERROR_CONTINUE - Static variable in class org.codehaus.mojo.sql.SqlExecMojo
-
Call
SqlExecMojo.setOnError(String)
with this value to continue SQL command execution if an error is found. - org.codehaus.mojo.sql - package org.codehaus.mojo.sql
- org.codehaus.mojo.sql_maven_plugin - package org.codehaus.mojo.sql_maven_plugin
- OVERFLOW_COMMENT - Static variable in class org.codehaus.mojo.sql.SqlSplitter
-
parsed sql started a comment with /_* which continues on the next line (did not end)
- OVERFLOW_DOUBLE_QUOTE - Static variable in class org.codehaus.mojo.sql.SqlSplitter
-
parsed sql started a double quote static text which continues on the next line (did not end)
- OVERFLOW_SINGLE_QUOTE - Static variable in class org.codehaus.mojo.sql.SqlSplitter
-
parsed sql started a single quote static text which continues on the next line (did not end)
P
- printResultSet(ResultSet, PrintStream) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
print any results in the result set.
- printResultSetCount(int, PrintStream) - Method in class org.codehaus.mojo.sql.SqlExecMojo
R
- ROW - Static variable in class org.codehaus.mojo.sql.DelimiterType
S
- setAppend(boolean) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
whether output should be appended to or overwrite an existing file.
- setConnectionRetryCount(int) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setConnectionRetryInterval(int) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setConnectionValidationSqls(List<String>) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setDelimiter(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Set the delimiter that separates SQL statements.
- setDelimiterType(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Set the delimiter type: "normal" or "row" (default "normal").
- setDriver(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setDriverProperties(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setEncoding(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Set the file encoding to use on the SQL files read in
- setEscapeProcessing(boolean) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Set escape processing for statements.
- setFileFilter(MavenFileFilter) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setKeepFormat(boolean) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
whether or not format should be preserved.
- setOnError(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setOrderFile(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setOutputDelimiter(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setOutputEncoding(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setOutputFile(File) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Set the output file;
- setPassword(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setPrintResultSet(boolean) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Print result sets from the statements; optional, default false
- setRollbackTransactions(boolean) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setSecurityDispatcher(SecDispatcher) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setShowFooter(boolean) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setShowHeaders(boolean) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Print headers for result sets from the statements; optional, default true.
- setSkipMissingFiles(boolean) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setSqlCommand(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setSrcFiles(File[]) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setTransactions(List<SqlExecMojo.Transaction>) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setUrl(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setUsername(String) - Method in class org.codehaus.mojo.sql.SqlExecMojo
- setValue(String) - Method in class org.codehaus.mojo.sql.DelimiterType
-
Set the delimiterValue.
- skipMojo() - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Determine if the mojo execution should get skipped.
- SqlExecMojo - Class in org.codehaus.mojo.sql
-
Executes SQL against a database.
- SqlExecMojo() - Constructor for class org.codehaus.mojo.sql.SqlExecMojo
- SqlSplitter - Class in org.codehaus.mojo.sql
-
Utility class to split a long sql batch script into single SQL commands.
T
- toString() - Method in class org.codehaus.mojo.sql.DelimiterType
-
Convert the value to its string form.
V
- validateConnection(Connection) - Method in class org.codehaus.mojo.sql.SqlExecMojo
-
Validate the database connection by executing all validation SQLs.
- value - Variable in class org.codehaus.mojo.sql.DelimiterType
-
The selected value in this enumeration.
All Classes and Interfaces|All Packages|Constant Field Values