Attaching derby-4068-01-aa-bindMistake.diff. This fixes the precision/scale problem which Knut identified. I need to run regression tests.
The precision and scale were defaulted early on during the bind() phase. This is another example of how type information can be lost as the compiler moves between the Java and SQL domains.
Touches the following files:
A previous patch added the getDataType() method to JavaValueNode so that JavaValueNodes can retrieve SQL type information from the tree beneath them. This patch teaches another kind of JavaValueNode how to do this.
Re-enables the running of this test in client-server mode since the defect is now fixed.