((JPQLCallQueryMechanism) databaseQuery.getQueryMechanism()).getJPQLCall().setIsParsed(true);
// GF#1324 eclipselink.refresh query hint does not cascade
// cascade by mapping as default for read query
if (databaseQuery.isReadQuery()) {
databaseQuery.cascadeByMapping();
}
// Apply the lock mode.
if (lockMode != null && !lockMode.name().equals(ObjectLevelReadQuery.NONE)) {
if (databaseQuery.isObjectLevelReadQuery()) {