"java.sql.SQLException: Invalid column name" Exception Sending Outbound Shipment Integration (Doc ID 1928472.1)

Last updated on SEPTEMBER 06, 2016

Applies to:

Oracle Transportation Management - Version 6.3.4 to 6.4.2 [Release 6.3 to 6.4]
Information in this document applies to any platform.

Symptoms

If Out XML Profile includes Driver fields xpath with MIN mode, outbound Shipment causes invalid column name error.

-- Error Message:
java.sql.SQLException: Invalid column name
at oracle.jdbc.driver.OracleStatement.getColumnIndex(OracleStatement.java:3711)
at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:2763)
at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.findColumn(Unknown Source)
at glog.util.uom.UOMQueryFilterBase.getString(UOMQueryFilterBase.java:206)
at glog.util.jdbc.noserver.SqlQuery.getString(SqlQuery.java:269)
at glog.integration.application.driver.DriverHeaderBuilder.create(DriverHeaderBuilder.java:66)
at glog.integration.xmlbasebuilder.AbstractQuery.create(AbstractQuery.java:52)
at glog.integration.xmlbasebuilder.DefaultQuery.create(DefaultQuery.java:46)
at glog.integration.xmlbasebuilder.DefaultBuilderQueryHelper.createList(DefaultBuilderQueryHelper.java:39)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.createList(XmlBaseBuilder.java:441)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.create(XmlBaseBuilder.java:531)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.create(XmlBaseBuilder.java:526)
at glog.integration.application.driver.DriverBuilder.create(DriverBuilder.java:78)

REPRODUCE STEPS
----------------------
1: Create new Out XML Profile with MIN mode and Included Xpath: /Shipment/Driver/*.
2: Plan a shipment and assign a driver who has Default Home Location.
3: Perform Integration Command. Select PlannedShipment and select above Shipment and choose Out XML Profile created in Step 1.
4: Click on button “Process”
5: Error is received.

Cause

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