regarding Jira Issue: https://issues.apache.org/jira/browse/DERBY-3997
Hi Geoff, You can download the Derby 10.4 source from subversion and build it yourself. Then you can be sure that you have exactly the fixes that you need. Here's more information about how to build Derby from source. If you have trouble, people on the derby-dev list are always glad to help. thanks, bryan
