codice:
    public Collection find(ValueObject obj) throws DaoFinderException
    {
	Collection collMyCollection;
	AziendeVO myValueObject;

	if (obj instanceof AziendeVO )
		myValueObject = (AziendeVO) obj ;
	else throw new java.lang.IllegalArgumentException(getClass()+".find");
	try {
		collMyCollection = (Collection)find(myValueObject);
	} catch (SQLException ex) {
		throw new DaoFinderException(ex.getMessage());
	}
	return collMyCollection;
    }
Nel primo rigo in grassetto mi dice:
- Incompatible conditional operand types ValueObject and AziendeVO

Nel secondo rigo in grassetto mi dice:
- Cannot cast from ValueObject to AziendeVO

Perchè? :master: