grantee = getNullAuthorizationID();
grantor = getNullAuthorizationID();
}
else
{
RoutinePermsDescriptor rpd = (RoutinePermsDescriptor) td;
oid = rpd.getUUID();
if ( oid == null )
{
oid = getUUIDFactory().createUUID();
rpd.setUUID(oid);
}
routinePermID = oid.toString();
grantee = getAuthorizationID( rpd.getGrantee());
grantor = getAuthorizationID( rpd.getGrantor());
if( rpd.getRoutineUUID() != null)
routineID = rpd.getRoutineUUID().toString();
}
ExecRow row = getExecutionFactory().getValueRow( COLUMN_COUNT);
row.setColumn( ROUTINEPERMSID_COL_NUM, new SQLChar(routinePermID));
row.setColumn( GRANTEE_COL_NUM, grantee);
row.setColumn( GRANTOR_COL_NUM, grantor);