如题 ,我需要读取access中所有表名,根据网上的方法从MsysObjects 中可以读出所有的表名,当使用MsysObjects系统表时,会出现下面的代码
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c92100b, pid=6052, tid=5292
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode windows-x86)
# Problematic frame:
# C  [ntdll.dll+0x100b]
#
# An error report file with more information is saved as:
# D:\MyEclipse8.5\workspace\Access\hs_err_pid6052.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
附上代码
String sql = "select name from msysobjects where type=1 and flags=0";
stmt = DB.createStatement(conn);
rs = stmt.executeQuery(sql);
while(rs.next()){
arrayTable.add(rs.getString(1));
}
DB.close(rs);
DB.close(stmt);
    for(int i=0;i<arrayTable.size();i++){
     System.out.println(arrayTable.get(i));
    }