Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed quote char

  • Loading branch information...
commit 2da7a69e0dfe4fcaa9885f47236adc4ca54e3903 1 parent ade283d
@nvoxland nvoxland authored
View
8 liquibase-core/src/main/java/liquibase/change/core/LoadDataChange.java
@@ -21,12 +21,12 @@
@DatabaseChange(name="loadData",
- description = "Loads data from a CSV file into an existing table. A value of NULL in a cell will be converted to a database NULL rather than the string NULL\n" +
+ description = "Loads data from a CSV file into an existing table. A value of NULL in a cell will be converted to a database NULL rather than the string 'NULL'\n" +
"\n" +
- "Date/Time values included in the CSV file should be in ISO formathttp://en.wikipedia.org/wiki/ISO_8601 in order to be parsed correctly by Liquibase. Liquibase will initially set the date format to be yyyy-MM-dd'T'HH:mm:ss and then it checks for two special cases which will override the data format string.\n" +
+ "Date/Time values included in the CSV file should be in ISO formathttp://en.wikipedia.org/wiki/ISO_8601 in order to be parsed correctly by Liquibase. Liquibase will initially set the date format to be 'yyyy-MM-dd'T'HH:mm:ss' and then it checks for two special cases which will override the data format string.\n" +
"\n" +
- "If the string representing the date/time includes a ”.”, then the date format is changed to yyyy-MM-dd'T'HH:mm:ss.SSS\n" +
- "If the string representing the date/time includes a space, then the date format is changed to yyyy-MM-dd HH:mm:ss\n" +
+ "If the string representing the date/time includes a '.', then the date format is changed to 'yyyy-MM-dd'T'HH:mm:ss.SSS'\n" +
+ "If the string representing the date/time includes a space, then the date format is changed to 'yyyy-MM-dd HH:mm:ss'\n" +
"Once the date format string is set, Liquibase will then call the SimpleDateFormat.parse() method attempting to parse the input string so that it can return a Date/Time. If problems occur, then a ParseException is thrown and the input string is treated as a String for the INSERT command to be generated.",
priority = ChangeMetaData.PRIORITY_DEFAULT, appliesTo = "table",
since="1.7")
View
2  liquibase-core/src/main/java/liquibase/change/core/RawSQLChange.java
@@ -19,7 +19,7 @@
"The sql change can also contain comments of either of the following formats:\n" +
"\n" +
"A multiline comment that starts with /* and ends with */.\n" +
- "A single line comment starting with <space><space> and finishing at the end of the line\n" +
+ "A single line comment starting with <space>--<space> and finishing at the end of the line\n" +
"Note: By default it will attempt to split statements on a ';' or 'go' at the end of lines. Because of this, if you have a comment or some other non-statement ending ';' or 'go', don't have it at the end of a line or you will get invalid SQL.",
priority = ChangeMetaData.PRIORITY_DEFAULT)
public class RawSQLChange extends AbstractSQLChange {
View
6 liquibase-core/src/main/java/liquibase/change/core/SQLFileChange.java
@@ -24,18 +24,18 @@
* file will likely not be found.
*/
@DatabaseChange(name="sqlFile",
- description = "The sqlFile tag allows you to specify any sql statements and have it stored external in a file. It is useful for complex changes that are not supported through LiquiBase's automated refactoring tags such as stored procedures.\n" +
+ description = "The 'sqlFile' tag allows you to specify any sql statements and have it stored external in a file. It is useful for complex changes that are not supported through LiquiBase's automated refactoring tags such as stored procedures.\n" +
"\n" +
"The sqlFile refactoring finds the file by searching in the following order:\n" +
"\n" +
"The file is searched for in the classpath. This can be manually set and by default the liquibase startup script adds the current directory when run.\n" +
"The file is searched for using the file attribute as a file name. This allows absolute paths to be used or relative paths to the working directory to be used.\n" +
- "The sqlFile tag can also support multiline statements in the same file. Statements can either be split using a ; at the end of the last line of the SQL or a go on its own on the line between the statements can be used.Multiline SQL statements are also supported and only a ; or go statement will finish a statement, a new line is not enough. Files containing a single statement do not need to use a ; or go.\n" +
+ "The 'sqlFile' tag can also support multiline statements in the same file. Statements can either be split using a ; at the end of the last line of the SQL or a go on its own on the line between the statements can be used.Multiline SQL statements are also supported and only a ; or go statement will finish a statement, a new line is not enough. Files containing a single statement do not need to use a ; or go.\n" +
"\n" +
"The sql file can also contain comments of either of the following formats:\n" +
"\n" +
"A multiline comment that starts with /* and ends with */.\n" +
- "A single line comment starting with <space><space> and finishing at the end of the line",
+ "A single line comment starting with <space>--<space> and finishing at the end of the line",
priority = ChangeMetaData.PRIORITY_DEFAULT)
public class SQLFileChange extends AbstractSQLChange {
Please sign in to comment.
Something went wrong with that request. Please try again.