一模一样的语句在sql是正常显示的:
但是在java里就变这样了
请问是哪里出错了吗
这个东东,,,哪里有那么复杂,
要用ResultSet ,,请先这样;
while(rs.next()){
...
...
}
* @return <code>true</code> if the new current row is valid;
* <code>false</code> if there are no more rows
* @exception SQLException if a database access error occurs or this method is
* called on a closed result set
*/
boolean next() throws SQLException;