python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Parameter marker XXX was not present in the SQL String
I'm trying to use named parameter markers in a SQL query with Java and db2, like this:
SELECT ...
FROM mytable c ...
WHERE c.id_field = :myParam
I configure the connection like this:
Properties prope...
madtyn
Votes: 0
Answers: 2
Named Parameter Markers in JDBC and DB2
I'm trying to use named parameter markers as in:
SELECT field
FROM table
WHERE field = :value -- I'd like to use this ':value'
I've been reading about this and I understood that I need to convert my...
madtyn
Votes: 0
Answers: 1