开发者

parameter and item in java

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜