ahh.create(id,"zz","xian");
        Ahuser a = ahh.findByPrimaryKey(id);
        
这里好像只是查内存而已...可能是驱动的问题...只是提示...

解决方案 »

  1.   

    升级用9i的jdbc驱动试一下,
    ORA-00600 internal error code, arguments: [string], [string], [string], [string], [string], [string], [string], [string]Cause: This is the generic internal error number for Oracle program exceptions. It indicates that a process has encountered a low-level, unexpected condition. Causes of this message include:timeouts file corruption failed data checks in memory hardware, memory, or I/O errors incorrectly restored files The first argument is the internal message number. Other arguments are various numbers, names, and character strings. The numbers may change meanings between different versions of Oracle. Action: Report this error to Oracle Customer Support after gathering 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 databases at the time of the error any unusual circumstances that occurred before receiving the ORA-00600 message contents of any trace files generated by the error the relevant portions of the Alter files
      

  2.   

    classpath 中把class12.jar放在最前边。
      

  3.   

    你用create创建的数据是已经“串行化“得所以findByPrimaryKey才能查找到
      

  4.   

    AhuserHome ahh = (AhuserHome) (new javax.naming.InitialContext().lookup("java:/comp/env/cmp1"));
      这种查找方式,你查找成功过吗?我用这种方式在weblogic下查找它总不成功  关注中
      

  5.   

    告诉大家一个好消息,我按照 secrets001(tommyrot)说的方法试了一下,问题立刻迎刃而解,在这里多谢大家对我的关心和帮助,顺便问一下,给分是怎样的给的,我是第一次在这里文问题,不了解规则,凡是回答了我的问题的人都有分拿,谢谢大家。