1. MySQL 5.4 Hibernate 3.3.2 stored procedure Column not found forum.hibernate.orgAfter pouring through pages and forums and what not, I just could not figure out why a simple stored procedure was not working in MySql MySQL Connector/J 5.1.9 (MySQL server 5.4). Assuming, I won't find a solution either, like many others, I am posting a solution that is a work around for this configuration. Code: DELIMITER $$ CREATE PROCEDURE `myDepartName`() ... |
2. Hibernate stored procedure result doesn't contain columns. forum.hibernate.orgI'm trying to call a stored procedure using Hibernate, but I'm getting the following exception all the time: Code: org.postgresql.util.PSQLException: The column name plan_id was not found in this ResultSet. The stored procedure is added as an auxiliary database object in one hbm.xml (actually this is the only XML mapping file I have, everything else is done with annotations): Code: ... |