Class SFieldBoolean

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    SFieldBooleanBit, SFieldBooleanChar

    public abstract class SFieldBoolean
    extends SFieldScalar
    Booleans are represented as Boolean.TRUE/FALSE internally. However, SQL89 does not have a concept of boolean, only strings and numbers. So these are normally mapped to strings like "Y", "N". Which representation is determined in subclasses. (The JDBC java docs are useless as always "getBoolean gets booleans...").

    (The issue is with JDBC, not SimpleORM. And of course SFieldObject can always be used if really needed.)

    See Also:
    Serialized Form
    • Constructor Detail

      • SFieldBoolean

        public SFieldBoolean​(SRecordMeta meta,
                             java.lang.String columnName,
                             SFieldFlags... pvals)