Hibernate version: 3.1.3
Hibernate Tools version: 3.2 beta6
Name and version of the database you are using: HSQL 1.8.0.5
I am trying to create HBM files from my POJOs using the Hibernate Tools Plugin but every time I try to run the generator it spins for a second and does nothing.
I have the following hibernate.cfg.xml file which I created using the wizard:
Code:
<?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 name="hsqlSessionFactory">
<property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="hibernate.connection.url">jdbc:hsqldb:.</property>
<property name="hibernate.connection.username">sa</property>
<property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
</session-factory>
</hibernate-configuration>
I created the hibernate console config at the same time:
(an image is attached showing the console)
Once I created these I did the following to try to generate the HBM files:
1) Run -> Hibernate Code Generation -> Hibernate Code Generation
2) Create new generator
3) Select the evaluation configuration (that I just made)
4) Set the output directory
5) Select the exporters tab and check the Hibernate XML mappings
6) Click Apply
7) Click Run
8) Spin for a sec and nothing happens
Is it possible to generate HBM files this way or do I need to do something different?
Thanks
-AZ