Skip to content

Commit

Permalink
fix load from cursor method missing
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzagrosner committed Dec 17, 2015
1 parent 7ebeb88 commit d8f2096
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ public MethodSpec getMethodSpec() {
methodBuilder.addCode(codeBuilder.build());
}

if (((TableDefinition) baseTableDefinition).implementsLoadFromCursorListener) {
methodBuilder.addStatement("$L.onLoadFromCursor($L)", ModelUtils.getVariable(isModelContainerAdapter), LoadFromCursorMethod.PARAM_CURSOR);
}

return methodBuilder.build();
}
}

0 comments on commit d8f2096

Please sign in to comment.