In case no one has answered this, check the Caveat Emptor source code.
In there, they add the additional parameter to the findByExample
method. As you noted, that takes care of any compilation issues.
They've also made another adjustment to the pattern as implemented by
CE. Apparently they weren't happy with setting the persistentClass
attribute by reflection. Instead, the latest code (HiA-SE3.1alpha5)
uses the constructor to set the class. In the associated factory all
of the individual DAO classes call super with the class references as
an argument. |