fixed handling of Oracle NULL and truncation in fields