Hello, i need persist a class in a xml file, i see documentation and find
Chapter 18. XML Mapping
·
·
·
18.1.2. Specifying only an XML mapping
but i can't find the configuration to my hibernate.cfg.xml
to tell it don't use a data base, use a xml file to persist my class
<hibernate-configuration>
<session-factory>
<!-- Database connection settings -->
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="connection.url">jdbc:hsqldb:hsql://localhost</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
.... etc.
someone know how can i do this
_________________ Thanks
|