开发者

parameter and item in java

开发者 https://www.devze.com 2023-03-19 14:46 出处:网络
I\'m having issues passing a value. this is my attempt: batchP.updateItemNfilter2(JobType.ImportJob, importJobId, item.getID(), item.getNfilter2());

I'm having issues passing a value.

this is my attempt:

batchP.updateItemNfilter2(JobType.ImportJob, importJobId, item.getID(), item.getNfilter2());

in my batch persistence I have:

/**
     * updates nfilter2 value
     * @param jobType
     * @param jobID
     * @param itemID
     * @param nfilter2
     */

    public void updateItemNfilter(short idx, JobType jobType, long jobId, long itemID, long n) throws Exception {
        batchSql.updateItemNfilter(idx,开发者_JAVA百科 getJobItemTableName(jobType, jobId), itemID, n);
    }

any idea what i may be doing wrong? is it because i am trying to pass an item and it is expecting a param?

thanks


You haven't told us what the actual error is, but you are passing four arguments to a method that takes five.

Looks like you are missing the parameter for short idx.

0

精彩评论

暂无评论...
验证码 换一张
取 消