Derby interprets the JDBC escape syntax for dates as equivalent to the correct SQL syntax for dates.
{ d 'yyyy-mm-dd' }
DATE('yyyy-mm-dd')
VALUES {d '2010-10-19'}