Take hibernate4 plugin into account when configuring dynamic methods. Otherwise dynamic method configurer thinks hibernate4 domain classes don't have an existing datastore.