Hi,
I have exlicitly set the default value for every column, but if I ask
the
driver for the current value, it doesn't give me a simple NULL, but
the
described expression. For the moment I have translated the result
with a
private String dropAnnotations(String defValue) {
String res = defValue;
if ((res != null) && (res.contains("::"))) {
res = res.substring(0, res.lastIndexOf("::"));
}
return res;
}
But this is an ugly way to get a clean default value from the driver.
Andre
On Sep 18, 10:07 pm, p(dot)(dot)(dot)(at)fastcrypt(dot)com (Dave Cramer) wrote:
> How do you create this table ? To answer your question, just add default
> null to the definition of the column.