M
Mark Thornton
Harri said:How do you copy multi-line SQL statement into Java sources then?
String sql = "select a,b,c, ... "+
" from MyTable "+
"where x=y";
Note the the concatenations are done by the compiler, not at run time.
If it is too big for this to be attractive, read the statement from a
resource file (which would usually be packaged into the applications JAR
file when delivered).