web services - Hibernate configuration file for HSQLDB database server -


i new in hibernate programming , not know how write hibernate configuration file hsqldb database server. server on local host.

  • username is: michael
  • password is: jane$%12#

try this:

<?xml version='1.0' encoding='utf-8'?> <!doctype hibernate-configuration public "-//hibernate/hibernate configuration dtd 3.0//en" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration>   <session-factory>     <property name="hibernate.dialect">org.hibernate.dialect.hsqldialect</property>     <property name="hibernate.connection.driver_class">org.hsqldb.jdbcdriver</property>     <property name="hibernate.connection.url">jdbc:hsqldb:hsql://localhost/</property>     <property name="hibernate.connection.username">michael</property>     <property name="hibernate.connection.password">jane$%12#</property>         <property name="show_sql">true</property>     <property name="current_session_context_class">thread</property>     <mapping resource="yourclassname.hbm.xml"/>   </session-factory> </hibernate-configuration> 

Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

php - Mongodb connectivity error -