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
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!!
[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
levels
