Patches item #1004871, was opened at 2004-08-06 16:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=1004871&group_id=22866

Category: JBossCMP
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Marc Lavergne (mlavergn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix for ORA-1008 Not all variables bound in CMP

Initial Comment:
There is a bug in the JDBCOracleCreateCommand
implementation of executeInsert() with regards to
registering the  out parameters. The method incorrectly
relies on the pkIndex which does not always accurately
reflect the number of bind variables in the SQL
statement. This patch modifes JDBCAbstractCreateCommand
by replacing the local "index" variable in the
performInsert() method with a "bvIndex" member variable
that we maintain for the Oracle specific
implementation. We then call on
JDBCAbstractCreateCommand.bvIndex instead of pkIndex in
the JDBCOracleCreateCommand.executeInsert(). Patch done
against 3.2.3 is attached.  Contact me at: mlavergn-pub
[at] richlava [dot] com.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=1004871&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to