Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

No signature of method is applicable for argument types

adrinaAug 27 2013 — edited Aug 27 2013

Hi.,

  Am using jdeveloper 11.1.1.6.0,

I have created a EO based VO in my application. Am need of generating the sequence number from my DB. i have use the method in my AM and trying to call using Groovy expression.

   /**

     *  Call the function to generate the sequence number for Po_Line

     */

   

    public int poitlineNumber(int pnumber) {

        CallableStatement cs = null;

        cs =

    getDBTransaction().createCallableStatement("begin ? := po_items_line(?);end;",

                                            0);

        try {

            cs.registerOutParameter(1, Types.NUMERIC);

            cs.setInt(2, pnumber);

            cs.executeUpdate();

            return cs.getInt(1);

        } catch (SQLException e) {

            e.printStackTrace();

        }

        return 0;

    }

Groovy Expression in my VO

adf.object.applicationModule.poitlineNumber(PoitNumber)

While i run my page and clicking the add button it throws an exception as

No signature of method: model.AModule.MeServicesAMImpl.poitlineNumber() is applicable for argument types: (java.lang.Long) values: [131424]

I cant identify where i dont the mistake could any one pls help me?

Regards,

Prasad K T,

AS400 ops.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 24 2013
Added on Aug 27 2013
2 comments
2,039 views