• Post Reply Bookmark Topic Watch Topic
  • New Topic

a problem about oracle

qu shihong
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
package gctest;
import oracle.jdbc.driver.OracleDriver;
import java.sql.*;
import java.util.Date;
public class Test1 {
public static void main(String[] args) {
Connection con = DriverManager.getConnection("jdbc racle:thin:@", "quxuekuan", "password");
PreparedStatement pstmt = con.prepareStatement("select * from student");
catch(Exception e){
java.sql.SQLException: ORA-00600: 内部错误代码,参数: [ttcgcshnd-1], [0], [], [], [], [], [], []

at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:797)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1608)
at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:1758)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1805)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:322)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:280)
at gctest.Test1.main(Test1.java:13)
line 13 :pstmt.executeQuery();
[ Edited by Dave to remove real-looking IP and user/password ]
[ February 28, 2003: Message edited by: David O'Meara ]
Dorj Galaa
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!