Added by on 2013-07-05

Your hibernate.cfg.xml file should look like this

<property name="hibernate.connection.driver_class"> org.apache.derby.jdbc.ClientDriver </property>
<property name="hibernate.connection.url"> jdbc:derby://localhost:1527/databaseName;create=true </property>
<property name="hibernate.connection.username"> admin </property>
<property name="hibernate.connection.password"> admin </property>

<!– no schema necessary –>
<property name="hibernate.dialect"> org.hibernate.dialect.DerbyDialect </property>

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*