Bugs item #463210, was opened at 2001-09-20 07:21
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=463210&group_id=22866

Category: JBossCMP
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Christian Riege (lqd)
Assigned to: Nobody/Anonymous (nobody)
Summary: remove fails when using commit-option C

Initial Comment:
i've just discovered a very odd bug: when using
commit-option "C" for my CMP-based entity beans, the
SQL DELETE command that gets sent to the Database has
the PK set to NULL:

output from JAWS:
[JAWS] Remove command executing: DELETE FROM AIRPORT
WHERE PORT_CODE=?
[JAWS] Set parameter: idx=1, jdbcType=VARCHAR, value=NULL
when I switch back to commit-option "A", everything
works just fine:

[JAWS] Remove command executing: DELETE FROM AIRPORT
WHERE PORT_CODE=?
[JAWS] Set parameter: idx=1, jdbcType=VARCHAR, value=FRA

Encountered on JBoss-2.4.1, JDK 1.3.1 running RedHat
6.2 (Linux Kernel 2.2.19). Database used was PostgreSQL
7.1 but the bug is reproducible on Hypersonic SQL and
Oracle, too. Seems that the bug is related to
EntityEnterpriseContext being released pre-maturely on
commit-option C

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=463210&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to