code: @Override
    public Clob transformOut(JdbcPreparedStatementFactory jpsf, char[] attributeObject) throws CpoException {
      CLOB newClob = null;
  
      try {
        if (attributeObject != null) {
          newClob = CLOB.createTemporary(jpsf.getPreparedStatement().getConnection(), false, CLOB.DURATION_SESSION);
          jpsf.AddReleasible(new OracleTemporaryClob(newClob));
  
          Writer cos = newClob.setCharacterStream(0);
          cos.write(attributeObject);
          cos.close();
        }
      } catch (Exception e) {
        String msg = "Error CLOBing Char Array";
        logger.error(msg, e);
        throw new CpoException(msg, e);
      }
      return newClob;
    }
docs: Transforms the data from the class attribute to the object required by the datasource
  
  @param cpoAdapter The CpoAdapter for the datasource where the attribute is being persisted
  @param parentObject The object that contains the attribute being persisted.
  @param attributeObject The object that represents the attribute being persisted.
  @return The object to be stored in the datasource
  @throws CpoException