<constraint-mappings
        xmlns="http://jboss.org/xml/ns/javax/validation/mapping"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation=
                "http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.1.xsd" version="1.1">

    <default-package>org.hibernate.validator.test.internal.engine.methodvalidation.service</default-package>
    <bean class="RepositoryBase" ignore-annotations="true">
        <method name="foo">
            <parameter type="java.lang.Long">
            </parameter>
        </method>

        <method name="foo">
            <parameter type="java.lang.Long">
            </parameter>
        </method>
    </bean>

</constraint-mappings>