See class org.hibernate.query.procedure.internal.ProcedureParameterMetadata.
Code
Not works. Because local implementation of interface javax.persistence.Parameter is not instance of ProcedureParameterImplementor