Change statementName and portalName from String to long