下面是ORA错误信息,你看看对你有没有帮助。ORA-00600: internal message code, what it is and how to fix it Topics What is this error? How to fix it 5-June-2001 Author: Melissa Haller --------------------------------------------------------------------------------What causes this error? ORA-600 is an internal error generated by the generic kernel code of the Oracle RDBMS software. It is different from other Oracle errors in many ways. The following is a list of these differences. 1. An ORA-600 error may or may not be displayed on the screen. Therefore, screen output should not be relied on for capturing information on this error. Information on ORA-600 errors are found in the database alert and trace files. We recommend that you check these files frequently for database errors. (See the Alert and Trace Files section for more information.) 2. Each ORA-600 error comes with a list of arguments They usually enclosed in square brackets and follow the error on the same line for example: ORA-00600 [14000][51202][1][51200][][] Each argument has a specific meaning which can only be interpreted by an Oracle support analyst. The arguments may also change meaning from version to version therefore customers are not advised to memorize them. 3. Every occurrence of an ORA-600 should be reported to Oracle Support. Unlike other errors, you can not find help text for these errors. Only Oracle technical support should diagnose and take actions to prevent or resolve damage to the database. 4. Each ORA-600 error generates a database trace file. Possible causes include * time-outs, * file corruption, * failed data checks in memory, hardware, memory, or I/O messages, * incorrectly restored files -------------------------------------------------------------------------------How to fix it Contact Oracle support with the following information: * events that led up to the error * the operations that were attempted that led to the error * the conditions of the operating system and database at the time of the error * any unusual circumstances that occurred prior to receiving the ORA-00600 message. * contents of any trace files generated by the error * the relevant portions of the Alert file
String sql="select * from vhlmsg";//换成select top 10 * from vhlmsg System.out.println("sql:"+sql); ResultSet rs=stmt.executeQuery(sql);你一步步的追踪调试,看看问题到底出现在什么地方。你的程序代码没有什么问题。
Topics
What is this error?
How to fix it
5-June-2001
Author: Melissa Haller
--------------------------------------------------------------------------------What causes this error?
ORA-600 is an internal error generated by the generic kernel code of the Oracle RDBMS software. It is different from other Oracle errors in many ways. The following is a list of these differences. 1. An ORA-600 error may or may not be displayed on the screen.
Therefore, screen output should not be relied on for capturing information on this error. Information on ORA-600 errors are found in the database alert and trace files. We recommend that you check these files frequently for database errors. (See the Alert and Trace Files section for more information.) 2. Each ORA-600 error comes with a list of arguments
They usually enclosed in square brackets and follow the error on the same line for example: ORA-00600 [14000][51202][1][51200][][] Each argument has a specific meaning which can only be interpreted by an Oracle support analyst. The arguments may also change meaning from version to version therefore customers are not advised to memorize them. 3. Every occurrence of an ORA-600 should be reported to Oracle Support.
Unlike other errors, you can not find help text for these errors. Only Oracle technical support should diagnose and take actions to prevent or resolve damage to the database. 4. Each ORA-600 error generates a database trace file. Possible causes include
* time-outs,
* file corruption,
* failed data checks in memory, hardware, memory, or I/O messages,
* incorrectly restored files
-------------------------------------------------------------------------------How to fix it
Contact Oracle support with the following information: * events that led up to the error
* the operations that were attempted that led to the error
* the conditions of the operating system and database at the time of the error
* any unusual circumstances that occurred prior to receiving the ORA-00600 message.
* contents of any trace files generated by the error
* the relevant portions of the Alert file
System.out.println("sql:"+sql);
ResultSet rs=stmt.executeQuery(sql);你一步步的追踪调试,看看问题到底出现在什么地方。你的程序代码没有什么问题。