I faced again the serious problem, that Oracle simply doesn't have a boolean column type. I need to use char(1)
, or smallint
, or some other.
What is the best practice, how to emulate boolean values in Oracle?
(Space consumption isn't important now - but a good cooperation with java/hibernate line were important).