I am using the MySQL and Tomcat. This time, I am trying to look for some records in the database, use LIMIT to retrieve the first 20, and sort them in descending order according to the criterion given to String sort.
int offset = 0; int rows = MessageInboxConfig.ROWS_IN_THREADS; (which is 20) String sort = "thread_last_post_date"; String order = "DESC";
Something is wrong with the method getThreadBeans_forReceiver_withSortSupport_limit_mysql in the MySQLMessageDAO class, I got this error message in the Tomcat log:
[ May 21, 2004: Message edited by: JiaPei Jen ]
[ May 21, 2004: Message edited by: JiaPei Jen ] [ May 21, 2004: Message edited by: JiaPei Jen ]