String sqlMain = "{CALL NCAPKG_PEAR_COMMON.NCASP_RECON_CREATE_PEAR(?, ?)}";
Connection conn = null;
conn = ResourceManager.getConnection(context);
CallableStatement cstmt = conn.prepareCall(sqlMain);
cstmt.registerOutParameter(1, Types.INTEGER);
cstmt.registerOutParameter(2, Types.VARCHAR);
Console.println("--> How nice? Let me execute the Query ..." );
cstmt.executeQuery();
Console.println("<-- done.");
Above is the code snippet.
The Moment it comes to executeQuery statements it hangs.
Can anybody tell me please what is wrong here?
If somebody faced similar kind of issue,please let me know.
Thank you