Nirmal Fernando <[email protected]> writes: > Hi Knut, thanks for the quick response! > > I am looking into "Add all data in XPlain tables into the XML file > generated by PlanExporter Tool" > (https://issues.apache.org/jira/browse/DERBY-4783) improvement, and I > felt that it will be really inefficient to use large number of "int > Enum patterns"[1] and case statements. So that is why I am wondering > whether it is ok to use "Typesafe Enum pattern"[1] in PlanExporter.
Hi Nirmal, The question here is whether the plan exporter tool should work on Java 1.4 or not. I don't think losing the ability to run the plan exporter on 1.4 would be a very big problem, so I'd say that if you think the improvements will be much easier to implement using enums, using Java 5 for that tool would probably be fine. Most users are on Java 6 these days, and I don't think this is a tool that would typically be used on the CDC platform. Others may disagree, though. -- Knut Anders
