Hello,
It seems that changes in the mapping document aren't picked up when I try to generate code.
I've defined a console configuration, it points to a configuration file hibernate.cfg.xml, and I've also specified the mapping file in the console configuration. The mapping file is located where the generated source files are.
Now I can change the mapping file, but it doesn't get reflected in the generated files. Is there some place I can find a log to see what's going on? Is there something I should do to have the mapping file being taken into account?
Regards, Bo
Hibernate version: hibernate tool 3.1.0 beta4
Mapping documents:
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated 24-feb-2006 13:30:37 by Hibernate Tools 3.1.0.beta4 -->
<hibernate-mapping>
<class name="es.cofas.facturacion.hibernate.FarmaCuenta" table="fcuenta01">
<meta attribute="generated-class">es.cofas.facturacion.hibernate.FarmaCuentaBase</meta>
<meta attribute="scope-class">public abstract</meta>
<composite-id name="id" class="es.cofas.facturacion.hibernate.FarmaCuentaId">
<key-property name="cliente" type="string">
<column name="cliente" length="12" />
</key-property>
<key-property name="periodo" type="int">
<column name="periodo" />
</key-property>
<key-property name="orden" type="int">
<column name="orden" />
</key-property>
</composite-id>
<property name="fecha" type="java.lang.Integer">
<column name="fecha" />
</property>
<property name="concepto" type="string">
<column name="concepto" length="50" />
</property>
<property name="acreedor" type="java.lang.Float">
<column name="acreedor" precision="4" scale="0" />
</property>
<property name="deudor" type="java.lang.Float">
<column name="deudor" precision="4" scale="0" />
</property>
<property name="saldo" type="java.lang.Float">
<column name="saldo" precision="4" scale="0" />
</property>
<property name="fechaval" type="java.lang.Integer">
<column name="fechaval" />
</property>
<property name="tipo" type="string">
<column name="tipo" length="1" />
</property>
</class>
</hibernate-mapping>