My Oracle Support Banner

JDBC Prepared Update Statement Fails With ORA-00936 After PreparedStatement.getParameterMetaData() In JDBC 12c (Doc ID 2004885.1)

Last updated on FEBRUARY 03, 2019

Applies to:

JDBC - Version 12.1.0.1.0 to 12.1.0.2.0 [Release 12.1]
Information in this document applies to any platform.

Symptoms

Oracle Database 12c ( 12.1.0.1.0)
JDBC 12.1.0.1

Java method java.sql.PreparedStatement.getParameterMetaData() fails with:

ORA-00936: missing expression

when executing the following UPDATE statement:


The statement works with JDBC Driver version 11.2.0.4 and older releases.

Changes

 Upgrade to JDBC 12c

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.