public JDBCCMPFieldBridge2(
      JDBCStoreManager2 manager,
      JDBCEntityBridge2 entity,
      JDBCCMPFieldMetaData metadata,
      int rowIndex) {
    this.rowIndex = rowIndex;
    this.entity = entity;
    jdbcType = manager.getJDBCTypeFactory().getJDBCType(metadata);
    pkClass = metadata.getEntity().getPrimaryKeyClass();
    pkField = metadata.getPrimaryKeyField();
    isPrimaryKeyMember = metadata.isPrimaryKeyMember();
    fieldName = metadata.getFieldName();
    fieldType = metadata.getFieldType();
    cmpFieldIAmMappedTo = null;
    columnName = metadata.getColumnName();

    log =
        Logger.getLogger(
            this.getClass().getName() + "." + entity.getEntityName() + "#" + getFieldName());
  }
 /** This constructor creates a foreign key field. */
 public JDBCCMP2xFieldBridge(
     JDBCStoreManager manager, JDBCCMPFieldMetaData metadata, JDBCType jdbcType) {
   super(manager, metadata, jdbcType);
   cmpFieldIAmMappedTo = null;
   columnName = metadata.getColumnName();
 }