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

(Doc ID 2004885.1)

Last updated on AUGUST 16, 2016

Applies to:

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


Oracle Database 12c (

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 and older releases.


 Upgrade to JDBC 12c


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms