Hi, is it is not the place to discuss DAO, ignore me and sorry ^^ but I have a question about DAO, I write my DAO and include all function that to select / insert / update / delete record from database. Therefore all interaction between database and the outside world are by DAO. No direct access is allowed.
The question is I need to define the sql statement in my Java source code, which is something like : private final String sql = "select * from table"; which, if the sql is very long, I need to split it up into a few lines. Thus make the code very dirty and not easy to understand. Is there any solution to define constant sql statement in a better and manageable way ? Any help would be appreciated Thanks -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]