2 Replies Latest reply on Sep 18, 2002 6:45 AM by enerjet

    findByPrimary problem

    enerjet

      I am using jboss-3.0.0_tomcat-4.0.3, JBuilder 7 and Oracle 8.1.7.

      I have a cmp-bean named projectUserBean.

      After I use projectUserHome.create() to create a new record, I cann't access the right record in the database using Oracle Sqlplus, but I can use projectUserHome.findByPrimaryKey() to access the record that is created by projectUserHome.create().

      And also, I cann't use projectUserHome.findByPrimaryKey() to access the records that have existed in the database but were not created by projectUserHome.create().

      please help me.
      Thanks a lot!