killbill/killbill-commons

Repeating data read

Closed this issue · 2 comments

  @SqlQuery
    List<T> getReadyEntries(@Bind("now") Date now,
                            @Bind("max") int max,
                            // This is somewhat a hack, should really be a @Bind parameter but we also use it
                            // for StringTemplate to modify the query based whether value is null or not.
                            @Nullable @Define("owner") String owner,
                            @Define("tableName") final String tableName);

I found there are multiple thread run getReadyEntries at the same time in the code. Will different thread repeated data right?

Please use the mailing list for questions

Please use the mailing list for questions

killbilling-users@googlegroups.com you mean this one?