
sf.database.jdbc.result.ResultSets Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sorm Show documentation
Show all versions of sorm Show documentation
java jpa tool for spring
The newest version!
/*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package sf.database.jdbc.result;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public class ResultSets {
private ResultSets() {
}
/**
* 显示sql的resultset
* @param rs 结果集
* @param limit 限制
*/
public static void showResult(ResultSet rs, int limit) {
if (rs == null) {
return;
}
showResult(rs, limit, true);
}
/**
* 以文本显示SQL结果
* @param rs 结果集
* @param limit 限制
* @param closeIt 是否关闭
*/
public static void showResult(ResultSet rs, int limit, boolean closeIt) {
}
public static List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy