title: Can't alter Oracle session with JdbcTemplate
body: <p>I need to change the NLS_NUMERIC_CHARACTERS of my Oraclesession in my Spring-Standaloneapplication. I'm using JdbcTemplates:</p>
  
  <pre><code>logger.info("Setting NLS-Parameter.");
  jdbcTemplate.execute("alter session set NLS_NUMERIC_CHARACTERS='.,'");
  logger.info(jdbcTemplate.queryForObject("select value from nls_session_parameters where parameter = 'NLS_NUMERIC_CHARACTERS'", String.class));
  </code></pre>
  
  <p>But it does not change:</p>
  
  <pre><code>Setting NLS-Parameter.
  ,.
  </code></pre>
  
  <p>I initialize the JdbcTemplate programatically:</p>
  
  <pre><code>DriverManagerDataSource dataSource = new DriverManagerDataSource();
  dataSource.setDriverClassName(ORACLE_JDBC_DRIVER);
  dataSource.setUrl(url);
  dataSource.setUsername(schema);
  dataSource.setPassword(password);
  JdbcTemplate jdbcTemplate = new JdbcTemplate();
  jdbcTemplate.setDataSource(dataSource);
  </code></pre>
  
  <p>All other statements are working perfectly. Just altering the session does not work. The Database is Oracle 18 Standart.</p>