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

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -