fix default suffix v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 24 Dec 2013 00:15:35 +0100
branchv_0
changeset 4792b83789330a
parent 46 0b05bc13aadd
child 48 28735e71a1da
fix default suffix
java/sql-dk/src/info/globalcode/sql/dk/CLIOptions.java
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/CLIOptions.java	Tue Dec 24 00:15:04 2013 +0100
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/CLIOptions.java	Tue Dec 24 00:15:35 2013 +0100
     1.3 @@ -33,7 +33,7 @@
     1.4  public class CLIOptions {
     1.5  
     1.6  	public static final String DEFAULT_NAME_PREFIX = ":";
     1.7 -	public static final String DEFAULT_NAME_SUFFIX = ":";
     1.8 +	public static final String DEFAULT_NAME_SUFFIX = "";
     1.9  	private String sql;
    1.10  	private String databaseName;
    1.11  	private String databaseNameToTest;
    1.12 @@ -216,7 +216,7 @@
    1.13  		if (namedParameters.isEmpty()) {
    1.14  			return new SQLCommandNumbered(sql, numberedParameters);
    1.15  		} else {
    1.16 -			return new SQLCommandNamed(sql, namedParameters);
    1.17 +			return new SQLCommandNamed(sql, namedParameters, namePrefix, nameSuffix);
    1.18  		}
    1.19  	}
    1.20