Stored Procedure « HBM « JPA Q&A





2. Calling a Stored Procedure in Postgres from HBM mapping file    forum.hibernate.org

I'm trying to call a stored procedure in Postgres from a Hibernate mapping file. I'm using custom SQL to do this SELECT call_dataflex(('delete from infe1h where recnum='?'')); The ? is being replaced with the correct value but it is telling me there is a syntax error somewhere near $1. I cannot tell what this syntax error is. I have removed the ...