Closed bohlool closed 11 years ago
Suppose we are used JoinType.LEFT_JOIN because toString() method of enum by default returns name that is "LEFT_JOIN" this makes SQL statement syntactically problematic, What we want in this case is "LEFT JOIN" and this is possible by overriding toString() method in JoinType.java class and returning appropriate value. On the other hand getTemplate() method of JoinType.java is never used in the project files and can be deleted safely.
JoinType has problem when selecting other options and only works when JoinType.JOIN is selected.