org.apache.openjpa.kernel
Interface QueryContext

classForName(String name,
String[] imports)
Helper method to instantiate the class with the given name, taking
into account the query's candidate package, automatic imports, and
the given imports (if any).

classForName

Helper method to instantiate the class with the given name, taking
into account the query's candidate package, automatic imports, and
the given imports (if any). Returns null if the type cannot be found.