title: derby + hibernate +Spring MVC
body: <p>Netbeans fails to create <code>hibernate.reveng.xml</code> with error </p>
  
  <blockquote>
    <p>Cannot establish database connection with selected Hibernate Configuration file. Please verify the database connection details in hibernate.cfg.xml</p>
  </blockquote>
  
  <p>My <code>hibernate.cfg.xml</code> looks like this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"&gt;
  &lt;hibernate-configuration&gt;
    &lt;session-factory&gt;
    &lt;property name="hibernate.connection.driver_class"&gt;org.apache.derby.jdbc.ClientDriver&lt;/property&gt;
        &lt;property name="hibernate.dialect"&gt;org.hibernate.dialect.DerbyDialect&lt;/property&gt;
  
      &lt;property name="hibernate.connection.url"&gt;jdbc:derby://localhost:1527/User&lt;/property&gt;
    &lt;/session-factory&gt;
  &lt;/hibernate-configuration&gt;
  </code></pre>
  
  <p>What is the problem? I am working with the Java DB (Derby) Database. I haven't this problem not when I use MySQL </p>