There was another customer who had the very same problem, and I responded to him on the Forum:
The Object Mapper looks at your stored proc, and tries to figure out its input and output parameters. If it can't figure this out, it reports "Schema Not Found". Characteristics of your stored proc that will cause the Object Mapper not to understand the output shape are (among other things):
(1) Temporary Tables
(2) Dynamic SQL
(3) HAVING clauses
The workaround is straightforward.
(1) Create any stored proc that gives the right output shape
(2) Map the Stored Proc query using the Object Mapper
(3) Replace the "dummy" stored proc with the real one
(4) When you use the Object Mapper, you must be careful not to regenerate entities. Otherwise, you will get the same "Schema Not Found" error.