类 DatabaseUtil


  • public final class DatabaseUtil
    extends Object
    This util is to convert a ResultSet to several rows.
    作者:
    vorbote thills@vorbote.cn
    • 方法详细资料

      • ConvertList

        public static List<Map<String,​Object>> ConvertList​(ResultSet rs)
                                                          throws SQLException
        Convert a result set to rows.
        参数:
        rs - The result set.
        返回:
        A list contains all data in result set.
        抛出:
        SQLException - May throw a SQL Exception.