Hi,
I wrote a job with following code with following code:
====================================
ResultSet rs;
DictTable dictTable = new DictTable(tableNum(custTable));
Connection connection = new Connection();
Statement statement = connection.createStatement();
str sql= "select * from CustTable";
rs = statement.executeQuery(sql);
while (rs.next() )
{
info(rs.getString(2));
}
==========
Statement : rs=statement.executeQuery(sql)-gives me an error:
Request for the permission of type 'SqlStatementExecutePermission' failed.
(S) \Classes\SqlStatementExecutePermission\demand
(S) \Classes\Statement\executeQuery
(C) \Jobs\CSA_AutoPadTest - line 20
=========================
I can not find class: SqlStatementExecutePermission.
I am connected as admin. How can i grant permission for this type of actions?
thank you