type="java.lang.String"
transient="false"
volatile="false"
- value=""0.7.9""
+ value=""0.7.10""
static="true"
final="true"
deprecated="not deprecated"
type="java.lang.String"
transient="false"
volatile="false"
- value=""2012-01-24""
+ value=""2012-01-27""
static="true"
final="true"
deprecated="not deprecated"
\r
**%VERSION%** ([zip](http://code.google.com/p/iciql/downloads/detail?name=%ZIP%)|[jar](http://code.google.com/p/iciql/downloads/detail?name=%JAR%)) *released %BUILDDATE%*\r
\r
+- Fixed default String value bug where a default empty string threw an IndexOutOfBounds exception\r
+\r
+**0.7.9** *released 2012-01-24*\r
+\r
- Added toParameter() option for SET commands and allow generating parameterized UPDATE statements<br/>\r
String q = db.from(t).set(t.timestamp).toParameter().where(t.id).is(5).toSQL();<br/>\r
db.executeUpdate(q, new Date());\r
\r
// The build script extracts this exact line so be careful editing it\r
// and only use A-Z a-z 0-9 .-_ in the string.\r
- public static final String VERSION = "0.7.9";\r
+ public static final String VERSION = "0.7.10";\r
\r
// The build script extracts this exact line so be careful editing it\r
// and only use A-Z a-z 0-9 .-_ in the string.\r
- public static final String VERSION_DATE = "2012-01-24";\r
+ public static final String VERSION_DATE = "2012-01-27";\r
\r
// The build script extracts this exact line so be careful editing it\r
// and only use A-Z a-z 0-9 .-_ in the string.\r
if (def.defaultValue.charAt(0) == '\''
&& def.defaultValue.charAt(def.defaultValue.length() - 1) == '\'') {
// strip leading and trailing single quotes
- return def.defaultValue.substring(1, def.defaultValue.length() - 2);
+ return def.defaultValue.substring(1, def.defaultValue.length() - 1).trim();
}
return def.defaultValue;
}