public static char getPDBTypeFromDBType ( int iDatabaseType ) { char strPDBType = ThinPhysicalDatabase . MEMORY_TYPE ; if ( ( iDatabaseType & Constants . MAPPED ) != 0 ) ; iDatabaseType = iDatabaseType & Constants . TABLE_TYPE_MASK ; if ( iDatabaseType == Constants . LOCAL ) strPDBType = ThinPhysicalDatabase . NET_TYPE ; // Never asked if ( iDatabaseType == Constants . REMOTE ) strPDBType = ThinPhysicalDatabase . NET_TYPE ; // Never asked if ( iDatabaseType == Constants . TABLE ) strPDBType = ThinPhysicalDatabase . NET_TYPE ; return strPDBType ; }
Get the physical db type from the record db type .