Bugs item #1757923, was opened at 2007-07-21 06:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1757923&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SQL/JDBC
Group: MonetDB5 CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bharani (bharani_monetdb)
Assigned to: Fabian (mr-meltdown)
Summary: Prepared statement type mismatch

Initial Comment:
I am trying to execute this sql as prepared statement

update reason set failurereason=? where ID=?

reason is a table with two columns
ID is integer
failurereason is a string

During the batch execution i see

exec 3('whatever',2);

in the batch and then i get

MALException:(unknown):wrong argument for prepared statement (expected int 
instead of char) 

Looks like the types are getting swapped or dosnt maintain the proper order

Thanks
Bharani

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1757923&group_id=56967

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to