Title: RE: [jBoss-User]??: [jBoss-User] Problem about CMP? Big Bug with JBoss CMP??

OK, so have you tried shutting down JBoss and then checking?  The data may be cached.

Tom Cook
Systems Development
Australian Submarine Corporation
Mersey Road
Outer Harbour

+61 8 8348 7645

"From the instant I picked your book up, until the moment I put it down, I was convulsed with laughter.  I fully intend to read it one day."

        - Groucho Marx

    -----Original Message-----
    From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
    Sent:   Tuesday, January 16, 2001 11:20 AM
    To:     [EMAIL PROTECTED]
    Subject:        Re: [jBoss-User]??: [jBoss-User] Problem about CMP? Big Bug with JBoss CMP??

    Hi,
      My problem is that the EJB can't update the rows.It didn't update the fields title,artist,type and notes after
    ejbStore() is invoked.Or in another word, The update of EJB is not successful.
      For example,after the EJB creates the the row with the PK value of '1' and updates the other fields with corresponding values (you can see from the log).I check the table with a select and find that only the PK values in the table.

      Ideally,I want to update the row with the following values:
         artist=Koopman
         notes=Incl. Toccata & Fugue in D minor
         type=classical, organ
         title=Great Organ Works/Bach JS
         id=1
      Actually,the EJB doesn't update the values of fields title,artist,type and notes.They are all nulls.
      This is my real problem.

    [JAWS] Store command executing: UPDATE music_cd SET cd_artist=?,cd_notes=?,cd_type=?,cd_title=? WHERE cd_id=?
    [JAWS] Set parameter: idx=1, jdbcType=VARCHAR, value=Koopman
    [JAWS] Set parameter: idx=2, jdbcType=VARCHAR, value=Incl. Toccata & Fugue in Dminor
    [JAWS] Set parameter: idx=3, jdbcType=VARCHAR, value=classical, organ
    [JAWS] Set parameter: idx=4, jdbcType=VARCHAR, value=Great Organ Works/Bach JS
    [JAWS] Set parameter: idx=5, jdbcType=CHAR, value=1
    [JAWS] Rows affected = 0
    [CDCollectionBean] CDBean.ejbStore()                                       Here ejbStore() is invoked!!
              
    Thank you
    levelsN‹.n�+‰��n‹,�ǫ�yb��(�H��� ��&N‹����r�›z6�ˬz�~X��
    +')�vˆ,r‰‹Š�GzZc�|(�H��� ��&

Reply via email to