title: hibernate changing cfg properties at runtime
body: <p>I'm trying to change cfg properties at runtime.
  For example:</p>
  
  <pre><code>cfg.setProperty("hibernate.connection.url")
  </code></pre>
  
  <p>The problem is that it works only when this property is not defined in the cfg file itself,
  meaning, it doesn't override.</p>
  
  <p>Can it be done in some way?</p>