Ah Oracle. Yes, it does not support a BOOLEAN SQL datatype, but does support a PLQSL BOOLEAN datatype. Because that is consistent Your easiest bet to handle this one-off by creating a new Type. Types have the ability to disallow this "remapping". You'd have to create a Boolean <-> BOOLEAN Type mapping that defines Type#canBeRemapped as false. The easiest way would be to create a BooleanType subclass that overrides just that method. You'd use that for PLSQL calls expecting BOOLEANs. |