Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Windows 8.1 and versions (s) of oracle client

user5716448Dec 18 2013 — edited Dec 20 2013

Hi,

We have just got new Windows 8.1 pcs and have both 32 and 64 bit applications we need to use.

Which version of oracle client should we use.

Our primary databases are oracle 11.2.03. though some oracle 11 ones as well.

Does 64 bit oracel client include 32-bit libraries as weel so 64-bit would be sufficient or would we need to install both oracle 32 and oracle 64 bit clients.

Do you have a link to this?

Thanks

Comments

choracy69

Ok, I create new datatype for postresql like: VARCHAR_JSON and set Converted to: ORACLE = CLOB. And it's working where my column in postregsql has JSON DATATYPE i set for it my new VARCHAR_JSON and it is converting to clob ok.

But with this solution I have some error - when column with json datatype is null I get error like:

oracle.odi.runtime.agent.exception.ExecutionEngineException: java.sql.SQLException: Invalid column type: 1111

at oracle.odi.runtime.agent.execution.sql.SQLCommand.bindResultSetColumns(SQLCommand.java:280)

at oracle.odi.runtime.agent.execution.sql.SQLCommand.processRecord(SQLCommand.java:171)

at oracle.odi.runtime.agent.execution.sql.SQLCommand.processRecord(SQLCommand.java:37)

at oracle.odi.runtime.agent.execution.Executor.performAction(Executor.java:444)

at oracle.odi.runtime.agent.execution.Executor.handleDataMovementTask(Executor.java:334)

at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:51)

at oracle.odi.runtime.agent.execution.SessionTask.processTask(SessionTask.java:206)

at oracle.odi.runtime.agent.execution.SessionTask.doExecuteTask(SessionTask.java:117)

at oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(AbstractSessionTask.java:886)

at oracle.odi.runtime.agent.execution.SessionExecutor$SerialTrain.runTasks(SessionExecutor.java:2225)

at oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(SessionExecutor.java:610)

at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:718)

at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:611)

at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203)

at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doProcessStartAgentTask(TaskExecutorAgentRequestProcessor.java:800)

at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$1400(StartSessRequestProcessor.java:74)

at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:702)

at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:180)

at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:108)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.sql.SQLException: Invalid column type: 1111

at oracle.jdbc.driver.OracleStatement.getInternalType(OracleStatement.java:5922)

at oracle.jdbc.driver.OraclePreparedStatement.setNullCritical(OraclePreparedStatement.java:6551)

at oracle.jdbc.driver.OraclePreparedStatement.setNullInternal(OraclePreparedStatement.java:6315)

at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:12586)

at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:13397)

at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:269)

at oracle.odi.query.typemapping.PassThroughWriter.setValue(PassThroughWriter.java:64)

at oracle.odi.query.typemapping.OracleToJDBCWriter.setValue(OracleToJDBCWriter.java:87)

at oracle.odi.query.JDBCTemplate.setValue(JDBCTemplate.java:220)

at oracle.odi.runtime.agent.execution.sql.SQLCommand.bindResultSetColumns(SQLCommand.java:277)

... 19 more

What can i do with this error? Why when column has null it is not workin?

I find solution that I can create sql query in Extract Option and for this column paste something like that:

coalesce(layers,'{}') as layers

But i don't like this solution.

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 17 2014
Added on Dec 18 2013
5 comments
10,267 views