lib/catissue/database.rb
def copy_annotation_proxy_owner_to_template(obj, template)
      prop = obj.class.proxy_property
      # Ignore the proxy attribute if it is defined by caRuby rather than caTissue.
      return unless prop and prop.java_property?
      rdr, wtr = prop.java_accessors
      pxy = obj.send(rdr)
      logger.debug { "Setting #{obj.qp} template #{template.qp} proxy owner to #{pxy}..." }
      template.send(wtr, pxy)
    end
def copy_annotation_proxy_owner_to_template(obj, template)
      prop = obj.class.proxy_property
      # Ignore the proxy attribute if it is defined by caRuby rather than caTissue.
      return unless prop and prop.java_property?
      rdr, wtr = prop.java_accessors
      pxy = obj.send(rdr)
      logger.debug { "Setting #{obj.qp} template #{template.qp} proxy owner to #{pxy}..." }
      template.send(wtr, pxy)
    end
The annotation proxy is not copied because the attribute redirects to the hook rather
 than the proxy. Set the template copy source proxy to the target object proxy using
 the low-level Java property methods instead.

 @param [Annotation] obj the copy source
 @param [Annotation] template the copy target