Laur's blog
Sign in Subscribe

call

A collection of 2 posts
Call an Oracle Function from Spring with CallableStatement
call

Call an Oracle Function from Spring with CallableStatement

Following the previous post, I wondered if there's a more elegant way to call a function. It turns out there is and it's based on CallableStatement: int value = jdbcOperations.execute( new CallableStatementCreator() { // ... }, new CallableStatementCallback<Integer>() { // ... } ); The CallableStatementCreator sets up the statement and the CallableStatementCallback
Jun 29, 2017 1 min read
PostgreSQL: Call a Stored Procedure for Every Row
call

PostgreSQL: Call a Stored Procedure for Every Row

I guess that newbies in PostgreSQL like me have first question when they create a store procedure: How do I call it? The answer is simple; you just execute SELECT your_procedure_name(parameters); Then, usually immediately the second question pops up: I wrote a procedure which I need to
May 13, 2014 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost