Class OracleXMLTypeColumnMapping

    • Constructor Detail

      • OracleXMLTypeColumnMapping

        public OracleXMLTypeColumnMapping​(JavaTypeMapping mapping,
                                          RDBMSStoreManager storeMgr,
                                          Column col)
        Constructor.
        Parameters:
        mapping - Java type mapping
        storeMgr - Store Manager
        col - Column
    • Method Detail

      • initialize

        protected void initialize()
        Description copied from class: CharColumnMapping
        Method to initialise the column mapping. Provides default length specifications for the CHAR column to fit the data being stored.
        Overrides:
        initialize in class CharColumnMapping
      • getString

        public String getString​(ResultSet rs,
                                int param)
        Method to extract a String from the ResultSet at the specified position
        Specified by:
        getString in interface ColumnMapping
        Overrides:
        getString in class CharColumnMapping
        Parameters:
        rs - The Result Set
        param - The parameter position
        Returns:
        the String
      • setString

        public void setString​(PreparedStatement ps,
                              int param,
                              String value)
        Method to set a String at the specified position in the JDBC PreparedStatement.
        Specified by:
        setString in interface ColumnMapping
        Overrides:
        setString in class CharColumnMapping
        Parameters:
        ps - The PreparedStatement
        param - Parameter position
        value - The value to set