Search code examples
jdbcdb2zos

what does IBM DB2 z/os JDBC emulateParameterMetaDataForZCalls do?


When i use IBM data Studio to connect to our db2 v8 z/os database the JDBC connection url generated is this.

jdbc:db2://host:port/LOCATION:retrieveMessagesFromServerOnGetMessage=true;emulateParameterMetaDataForZCalls=1;

contains this parameter setting: emulateParameterMetaDataForZCalls=1

What does this setting do? Why do i need it?


Solution

  • This parameter enables the use of the method PreparedStatement.getParameterMetaData() against a DB2 for z/OS data source.