This one time, at band camp, Brett Cherrington said:

BC>Heres the top half of the exception trace.....(This is after the fix I made
BC>to SQLEngine.createCall to check for no sql name)

What fix is this? Can you confirm that this fix is not affecting
anything here?

BC>java.sql.SQLException: Invalid column index
BC>
BC>at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
BC>
BC>at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
BC>
BC>at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:285)
BC>
BC>at
BC>oracle.jdbc.driver.OracleStatement.prepare_for_new_get(OracleStatement.java:
BC>2795)
BC>
BC>at
BC>oracle.jdbc.driver.OracleStatement.getBigDecimalValue(OracleStatement.java:3
BC>998)
BC>
BC>at
BC>oracle.jdbc.driver.OracleResultSetImpl.getBigDecimal(OracleResultSetImpl.jav
BC>a:577)
BC>
BC>at org.exolab.castor.jdo.engine.SQLTypes.getObject(SQLTypes.java:319)
BC>
BC>at
BC>org.exolab.castor.jdo.engine.SQLEngine$SQLQuery.loadMultiField(SQLEngine.jav
BC>a:1822)
BC>
BC>at
BC>org.exolab.castor.jdo.engine.SQLEngine$SQLQuery.loadRow(SQLEngine.java:1852)
BC>
BC>at
BC>org.exolab.castor.jdo.engine.SQLEngine$SQLQuery.fetchRaw(SQLEngine.java:1929
BC>)
BC>
BC>at
BC>org.exolab.castor.jdo.engine.SQLEngine$SQLQuery.nextIdentity(SQLEngine.java:
BC>1737)
BC>
BC>at
BC>org.exolab.castor.persist.QueryResults.nextIdentity(QueryResults.java:173)
BC>
BC>at
BC>org.exolab.castor.jdo.engine.OQLQueryImpl$OQLEnumeration.hasMore(OQLQueryImp
BC>l.java:598)
BC>
BC>at
BC>org.exolab.castor.jdo.engine.OQLQueryImpl$OQLEnumeration.hasMore(OQLQueryImp
BC>l.java:584)

Are your relationships bi-directional? Can you select this object graph
successfully with an OQL query?

Bruce
--
+--------------------------+--------------------------+
| Bruce Snyder             | Senior Software Engineer |
| [EMAIL PROTECTED] | Digital Globe            |
| 720.494.4870             | Longmont, CO             |
+-----------------------------------------------------+ 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to