Class BooleanType

    • Field Detail

    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Type
        Returns the abbreviated name of the type.
        Specified by:
        getName in interface Type
        String the Hibernate type name
      • getDefaultValue

        public getDefaultValue()
        Description copied from interface: PrimitiveType
        Get this type's default value.
        Specified by:
        getDefaultValue in interface PrimitiveType<java.lang.Boolean>
        The default value.
      • stringToObject

        public java.lang.Boolean stringToObject​(java.lang.String string)
        Description copied from interface: IdentifierType
        Convert the value from the mapping file to a Java object.
        Specified by:
        stringToObject in interface IdentifierType<java.lang.Boolean>
        string - the value of discriminator-value or unsaved-value attribute
        The converted value of the string representation.
      • objectToSQLString

        public java.lang.String objectToSQLString​(java.lang.Boolean value,
                                                  Dialect dialect)
        Description copied from interface: LiteralType
        Convert the value into a string representation, suitable for embedding in an SQL statement as a literal.
        Specified by:
        objectToSQLString in interface LiteralType<java.lang.Boolean>
        value - The value to convert
        dialect - The SQL dialect
        The value's string representation