Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-1086

controls which implement non-control interfaces may cause compilation errors on overridden methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.1
    • 1.0.2
    • Controls
    • None

    Description

      If I have the following, a compilation error will result, due to duplicate methods generated in the control bean during APT processing:

      **************************************************
      public interface ICustomerDao {
      int countCustomers();
      }

      **************************************************
      import org.apache.beehive.controls.system.jdbc.JdbcControl;
      import org.apache.beehive.controls.api.bean.ControlExtension;

      @ControlExtension
      @JdbcControl.ConnectionDataSource(jndiName = "later")
      public interface CustomerDao extends ICustomerDao, JdbcControl {
      static final long serialVersionUID = 1L;

      @JdbcControl.SQL( statement="SELECT count FROM customer" )
      public int countCustomers();
      }

      Attachments

        Activity

          People

            jacobd Jacob Danner
            chad_s Chad Schoettger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: