return ((JDOPOManagerItf) managedConnection.getPOManager()).newQuery(aClass, s);
}
public Query newQuery(Class aClass, Collection collection, String s) {
if (managedConnection == null) {
throw new JDOException(NO_ACTIVE_CONNECTION);
}
return ((JDOPOManagerItf) managedConnection.getPOManager()).newQuery(aClass, collection, s);
}