String privilegeName = getString(resultSet, "PRIVILEGE", false);
// grantable string; "YES" if grantee is permitted to grant to others; "NO" if not; null if unknown
String isGrantableStr = getString(resultSet, "IS_GRANTABLE", false);
// create table's privilege
Privilege privilege = factory.createPrivilege();
// set name
privilege.setName(privilegeName);
// set PrivilegeType
privilege.setPrivilegeType(getPrivilegeType(privilegeName));
// set Grantor
privilege.setGrantor(grantor);
// set Grantee
privilege.setGrantee(grantee);
// set Grantable
privilege.setGrantable("YES".equals(isGrantableStr) == true ? Boolean.TRUE : ("NO".equals(isGrantableStr) == true ? Boolean.FALSE : null));
// add privilege
column.addPrivilege(privilege);
// log
if (traceLog.isDebugEnabled()) {