beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <...@beehive.apache.org>
Subject [jira] Created: (BEEHIVE-1086) controls which implement non-control interfaces may cause compilation errors on overridden methods
Date Mon, 27 Mar 2006 22:51:18 GMT
controls which implement non-control interfaces may cause compilation errors on overridden
methods
--------------------------------------------------------------------------------------------------

         Key: BEEHIVE-1086
         URL: http://issues.apache.org/jira/browse/BEEHIVE-1086
     Project: Beehive
        Type: Bug
  Components: Controls  
    Versions: 1.0.1    
    Reporter: Chad Schoettger
 Assigned to: Chad Schoettger 
    Priority: Minor


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();
}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message