Estoy modernizando un proyecto antiguo y le vamos a poner Ibatis para trabajar con la BBDD.
La BBDD es Oracle y para acceder a ella utilizo Ibatis.
Las consultas normales tipo Select, Insert, Update y Delete las hace sin ningún problema
El problema llega a la hora de llamar a un procedimiento.
El procedimiento esta bien compilado en la web, se ha utilizado muchas veces pero al hacer la llamada me muestra el erro: PLS-00221
Os puede sonar a que es debido.
P.D os dejo los fuentes.
xml
Código PHP:
       <parameterMap id="datos" class="java.util.Map" >
        <parameter property="p_actuacion" jdbcType="VARCHAR" javaType="java.lang.String" mode="IN"/>
        <parameter property="actuacion" jdbcType="INTEGER" javaType="java.lang.Integer" mode="OUT"/>
    </parameterMap>
 
        <procedure id="pruebaPL" parameterMap="datos">
      {call PRUEBAIBATIS.prueba01(?,?)}
    </procedure> 
    Código PHP:
   Map map = new HashMap();
            map.put("98778945", new String());
 
            sqlMap.insert("pruebaPL", map);
            System.out.println("Error devuelto del PL/SQL: " + map.get("actuacion")); 
    Código PHP:
   --- The error occurred in xml/virttbactpa.xml.  
--- The error occurred while applying a parameter map.  
--- Check the datos.  
--- Check the statement (update procedure failed).  
--- Cause: java.sql.SQLException: ORA-06550: line 1, column 7:
PLS-00221: 'PRUEBA01' is not a procedure or is undefined
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored 
    
 
