Skip to content

Instantly share code, notes, and snippets.

@alamer
Created February 11, 2019 05:39
Show Gist options
  • Save alamer/9659d99c3a3b15f1f48792b49b9550fb to your computer and use it in GitHub Desktop.
Save alamer/9659d99c3a3b15f1f48792b49b9550fb to your computer and use it in GitHub Desktop.
JsonProcedureExtractor extractor = JsonProcedureExtractor.newBuilder()
.withParams(
new JdbcParameter<Long>("maxValue", JdbcParamType.IN_NUMBER, Long.valueOf(1)),
new JdbcParameter<Object>("maxValue", JdbcParamType.OUT_CURSOR)
)
.withStoredProcedure("{call terra.pkg_tsod3_inv.report(?,?,?)}")
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment