Note that there are some explanatory texts on larger screens.

plurals
  1. POwhich jar be responsible for parsing hibernate.cfg.xml?
    primarykey
    data
    text
    <p>I met a configuration problem like below: when I am executing example by <a href="http://www.vaannila.com/hibernate/hibernate-example/hibernate-tools-1.html" rel="nofollow noreferrer">hibernate tool</a> After I have write </p> <blockquote> <p><code>&lt;session-factory&gt;</code></p> <pre><code> &lt;property name="hibernate.connection.driver_class"&gt;org.hsqldb.jdbcDriver&lt;/property&gt; &lt;property name="hibernate.connection.url"&gt;jdbc:hsqldb:hsql://127.0.0.1&lt;/property&gt; &lt;property name="hibernate.connection.username"&gt;sa&lt;/property&gt; &lt;property name="connection.password"&gt;&lt;/property&gt; &lt;property name="connection.pool_size"&gt;1&lt;/property&gt; &lt;property name="hibernate.dialect"&gt; org.hibernate.dialect.HSQLDialect&lt;/property&gt; &lt;property name="show_sql"&gt;true&lt;/property&gt; &lt;property name="hbm2ddl.auto"&gt;create&lt;/property&gt; &lt;mapping?resource="com/vaannila/course/Course.hbm.xml"/&gt; </code></pre> <p>&lt;<code>session-factory&gt;</code></p> </blockquote> <p>and open HSQLDB connection(using <code>java -cp ./lib/hsqldb.jar org.hsqldb.Server</code> and <code>java -cp ./lib/hsqldb.jar org.hsqldb.util.DatabaseManager</code>), when I use <code>Hibernate Code Generation</code> in Eclipse, why it pop up the error message: <img src="https://i.stack.imgur.com/yfnNZ.png" alt="enter image description here"></p> <p>In former step for the jar, instead of using package <code>slf4j*</code> ,I have used <code>log4j</code>, and I remember I have not include the changed jar to my classpath as <a href="http://www.vaannila.com/hibernate/hibernate-example/hibernate-tools-1.html" rel="nofollow noreferrer">vannilla required</a>, do it have affects for the error? thanks first :)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload