Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Invalid column type from jdbc...
I'm not sure if this is the right group to post in, but I've been having a
problem trying to get oracle callable statements working in Java. The code
used to work in a different environment but something is different now and
I'm not sure what it is. The stack trace I'm getting is...
java.sql.SQLException: Invalid column type
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)at
oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallab leStatement.java:462) at weblogic.jdbc.pool.Statement.registerOutParameter(Statement.java:617)
and the java code that's spawning the error is...
weblogic.jdbc.common.OracleCallableStatement cs = null;
try {
cs =
(weblogic.jdbc.common.OracleCallableStatement)con.prepareCall(get_tasks);
cs.registerOutParameter(1, java.sql.Types.OTHER); .... etc. etc...
any thoughts would be much appreciated...
alan Received on Mon Jan 13 2003 - 14:15:47 CST
![]() |
![]() |