FW Error Query is a Raw Type When Referencing Generic Type (Doc ID 1334070.1)

Last updated on JULY 13, 2011

Applies to:

Oracle Utilities Framework - Version: 2.2.0 and later   [Release: 2.2 and later ]
Information in this document applies to any platform.

Goal

We tried to create a new custom batch that needs to reference com.splwg.base.api.Query in Java code. We are receiving the following error when declaring. We looked up the other custom batch's source code from Oracle, there is no parameter needed providing to Query.

Error:
Query is a raw type. References to generic type Query<E> should be parameterized

Solution

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