I'm getting this message when trying to run a Stored Procedure created in Oracle:
java.sql.SQLSyntaxErrorException: ORA-00928: SELECT keyword does not found
at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java:447) at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java:396) at oracle.jdbc.driver.T4C8Oall.processError (T4C8Oall.java:951) at oracle.jdbc.driver.T4CTTIfun.receive (T4CTTIfun.java:513) at oracle.jdbc.driver.T4CTTIfun.doRPC (T4CTTIfun.java:227) at oracle.jdbc.driver.T4C8Oall.doOALL (T4C8Oall.java:531) at oracle.jdbc.driver.T4CCallableStatement.doOall8 (T4CCallableStatement.java:205) at oracle.jdbc.driver.T4CCallableStatement.executeForRows (T4CCallableStatement.java:1043) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout (OracleStatement.java:1336) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal (OraclePreparedStatement.java:3613) at oracle.jdbc.driver.OraclePreparedStatement.execute (OraclePreparedStatement.java:3714) at oracle.jdbc.driver.OracleCallableStatement.execute (OracleCallableStatement.java:4755) at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute (OraclePreparedStatementWrapper.java:1378) at drive3.AppClient.insertSP (ClientApp.java:71) at unit3.UserApp.main (ClientApp.java:192)
create or replace PROCEDURE SP_INSERIRCLIENTE
(
CPF IN INTEGER
, NOME IN VARCHAR2
, EMAIL IN VARCHAR2
) AS
BEGIN
INSERT INTO CLIENTE VALUES(CPF, NOME, EMAIL);
END SP_INSERIRCLIENTE;