类 AbstractSingleColumnStandardBasicType<T>

    • 构造器详细资料

    • 方法详细资料

      • nullSafeSet

        public final void nullSafeSet​(PreparedStatement st,
                                      Object value,
                                      int index,
                                      boolean[] settable,
                                      SharedSessionContractImplementor session)
                               throws HibernateException,
                                      SQLException
        从接口复制的说明: Type
        Bind a value represented by an instance of the mapped class to the JDBC prepared statement, ignoring some columns as dictated by the 'settable' parameter. Implementors should handle the possibility of null values. A multi-column type should bind parameters starting from index.
        指定者:
        nullSafeSet 在接口中 Type
        参数:
        st - The JDBC prepared statement to which to bind
        value - the object to write
        index - starting parameter bind index
        settable - an array indicating which columns to bind/ignore
        session - The originating session
        抛出:
        HibernateException - An error from Hibernate
        SQLException - An error from the JDBC driver