You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <de...@beehive.apache.org> on 2006/03/28 19:16:56 UTC

[jira] Resolved: (BEEHIVE-1086) controls which implement non-control interfaces may cause compilation errors on overridden methods

     [ http://issues.apache.org/jira/browse/BEEHIVE-1086?page=all ]
     
Chad Schoettger resolved BEEHIVE-1086:
--------------------------------------

    Fix Version: v.next
     Resolution: Fixed
      Assign To: Alejandro Ramirez  (was: Chad Schoettger)

Fixed, modified AptMethodSet to check for overridden methods.  svn rev 389546

> 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
>     Assignee: Alejandro Ramirez
>     Priority: Minor
>      Fix For: v.next

>
> 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