Hello,
I'm trying to switch to AppFuse 2.0 in the new project (I've used
1.94 before), but I have problem with type mapping in the file
hibernate.reveng.xml.
I don't want to use primitive number types in my model classes so I've
made following:
<hibernate-reverse-engineering>
<schema-selection match-catalog="MY_SCHEMA" match-schema="MY_SCHEMA" />
<type-mapping>
<sql-type jdbc-type="BIGINT" hibernate-type="java.lang.Long"/>
<sql-type jdbc-type="INTEGER" hibernate-type="java.lang.Long"/>
<sql-type jdbc-type="NUMERIC" hibernate-type="java.lang.Long"/>
<sql-type jdbc-type="SMALLINT" hibernate-type="java.lang.Short" />
</type-mapping>
<!-- BIN$ is recycle bin tables in Oracle -->
<table-filter match-name="BIN$.*" exclude="true"/>
<!-- Exclude AppFuse tables from all catalogs/schemas -->
<table-filter match-name="APP_USER" exclude="true"/>
<table-filter match-name="ROLE" exclude="true"/>
<table-filter match-name="USER_ROLE" exclude="true"/>
</hibernate-reverse-engineering>
but it still uses "short" instead of java.lang.Short etc., when I call
'mvn appfuse:gen-model'.
File hibernate.reveng.xml is used correctly because filters defined
there work well.
(I use Oracle DB, but I hope, it's not source of the problem.)
Could you give me advice how to fix this problem, please?
Best Regards,
-- Josef Cacek
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]