Hello forum, I'm using Hibernate synchronizer and when I want generate mapping files from my oracle database tables, it generates the mapping file but doesn't create the properties. For example
Quote:
SQL> DESCRIBE STATUS;
Name Null? Type
----------------------------------------- -------- ----------------------------
CODI NOT NULL NUMBER(38)
DESCRIPCIO VARCHAR2(32)
STATUS is a table from my oracle database. However, when I click to New >> Hibernate >> Hibernate Mapping file and select STATUS table the result is:
Quote:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
<hibernate-mapping package="com.gmsoft.model">
<class
name="Status"
table="STATUS"
>
<meta attribute="sync-DAO">true</meta>
</class>
</hibernate-mapping>
As you can see, Hibernate synchronizer only generates class name, but has not added Id and DESCRIPTION properties.
I have tried it with SQLServer STATUS table and Hibernae synchronizer works correctly. So, it generates Status.hbm.xml file with all properties.
Can you tell me, why Status.hbm.xml file isnĀ“t generated correctly, if I use oracle database?
Thanks in advance