title: jdbc connection - socket connection
body: <p>A few days ago my website crashed and showed me this error:</p>
  
  <blockquote>
    <p>java.lang.NoClassDefFoundError: Could
    not initialize class
    com.omicc.hibernate.util.HibernateUtil</p>
  </blockquote>
  
  <p>So I asked the hosting company about any changes that they may have made. They fixed the problem and told me to use JDBC connections instead of socket connections.
  I am using hibernate and c3p0 with MySQL and as far as I know they use JDBC connections.</p>
  
  <pre><code>&lt;property name="connection.driver_class"&gt;com.mysql.jdbc.Driver&lt;/property&gt;
  </code></pre>
  
  <p>So do any of you guys know what he was talking about? :D (and yes he is not answering now!)</p>
  
  <p>EDITED>>>></p>
  
  <p>Solved!, so here is what i did
  i upgraded my hibernate from hibernate from 3.5.0 to 3.6.1
  and new hibernate required hibernate-jpa-2.0-api-1.0.0.Final.jar and slf4j-simple1.6.1 .
  and problem solved.
  i think that the hosting company updated their hibernate.jar and it  caused some reference problems.</p>