title: Hibernate changes database change
body: <p>I am using Struts and Hibernate 2.0 in my project. My database has changed from oracle 10g to Oracle 11g in my project.</p>
  
  <p>Can you please tell me what changes do I need to make in my Hibernate configuration?</p>
  
  <p>Also Are there any changes required in my Java code.</p>
  
  <pre><code>    &lt;hibernate-configuration&gt;
      &lt;session-factory&gt;
  
      &lt;property name="dialect"&gt;org.hibernate.dialect.Oracle10gDialect&lt;/property&gt;
      &lt;property name="connection.driver_class"&gt;oracle.jdbc.OracleDriver&lt;/property&gt;
      &lt;property name="connection.url"&gt;jdbc:oracle:thin:@&lt;host&gt;:&lt;port&gt;:&lt;sid&gt;&lt;/property&gt;
      &lt;property name="connection.username"&gt;username&lt;/property&gt;
      &lt;property name="connection.password"&gt;password&lt;/property&gt;
  
      &lt;property name="cache.provider_class"&gt;org.hibernate.cache.HashtableCacheProvider&lt;/property&gt;
  
      &lt;property name="transaction.factory_class"&gt;org.hibernate.transaction.JDBCTransactionFactory&lt;/property&gt;
      &lt;property name="current_session_context_class"&gt;thread&lt;/property&gt;
      &lt;property name="hibernate.show_sql"&gt;false&lt;/property&gt;
      &lt;/session-factory&gt;
  
      &lt;/hibernate-configuration&gt;
  </code></pre>