1 Reply Latest reply: May 8, 2013 8:25 AM by JamesSutherland RSS

    Exception [TOPLINK-6094] (Oracle TopLink - 11g Release 1 (11.1.1.4.0)

    1007631
      We are facing the below exception in our application frequently. Whenever we face this issue restarting JVM will resolve the issue. Trying to figure out what is the root cause of the problem with no luck. If this happens every other time then there is something wrong with mappings, but it works find, if there is this error occurs we restart the JVM and it starts to work fine again. Appreciate any help on this.

      Exception [TOPLINK-6094] Oracle TopLink - 11g Release 1 (11.1.1.4.0) (Build 101210)


      Exception Description: The parameter name [XXXX] in the query's selection criteria does not match any parameter name defined in the query.
      at oracle.toplink.exceptions.QueryException.parameterNameMismatch(QueryException.java:996)
      at oracle.toplink.internal.expressions.ParameterExpression.getValue(ParameterExpression.java:228)
      at oracle.toplink.internal.databaseaccess.DatasourceCall.translateQueryString(DatasourceCall.java:694)
      at oracle.toplink.internal.databaseaccess.DatabaseCall.translate(DatabaseCall.java:954)
      at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:192)
      at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:179)
      at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectOneRow(DatasourceCallQueryMechanism.java:603)
      at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRowFromTable(ExpressionQueryMechanism.java:2543)
      at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRow(ExpressionQueryMechanism.java:2513)
      at oracle.toplink.queryframework.ReadObjectQuery.executeObjectLevelReadQuery(ReadObjectQuery.java:424)
      at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:874)
      at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:679)
      at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:835)
      at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:397)
      at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2265)
      at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1079)
      at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1063)
      at oracle.toplink.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:67)
      at oracle.toplink.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:57)
      at oracle.toplink.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:72)