Laur's blog
Sign in Subscribe

spring

A collection of 5 posts
Application Properties for Native and Git Sources
spring

Application Properties for Native and Git Sources

Native and git-based properties (file-based)
May 29, 2023 1 min read
Spring Boot Configuration Server
spring

Spring Boot Configuration Server

About Spring Boot Configuration Server.
May 29, 2023 1 min read
@PostConstruct not so Good Best Practice
java

@PostConstruct not so Good Best Practice

Don;t use @PostConstruct with debug code and a ConfigurationServer.
May 2, 2023 1 min read
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
Call an Oracle Function from Spring
function

Call an Oracle Function from Spring

The easiest way to call a function from Spring is using SELECT. For example, having a function HAS_PANEL_FLAG_OK with two parameters and returning an integer, the function call looks like: SELECT panel_id, HAS_PANEL_FLAG_OK('17584', panel_id) AS flag FROM panels WHERE
Jun 29, 2017 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost