Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-28387

Unable to handle overloaded methods in JBoss EAP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.4.0.GA
    • JCA
    • None
    • False
    • None
    • False

      Hi, JDBC team is adding new methods in oracle.ucp.jdbc.PoolDataSource and have the following question/issue that need your help.

      We ran a test using JBoss EAP 7.4, and configured ucp datasource with JNDI in standalone.xml as described in this post but the it wasn't successful. 
      The test failed to map correct method when there were two overloaded methods in PoolDataSource. For example, getXXX(String) and getXXX(String[]). Injection.findMethod might return wrong method and cause type mismatch.
      The findMethod should be able to recognize method signature and returns the correct method object.

      We were using JBoss EAP 7.4 for testing but I doubt that the same applies for 9.x.

              Unassigned Unassigned
              ting-lan-wang Ting-Lan Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: