Hi,
after generating "DecisionItem.hbm" of the Animal Quiz example I found the the
sql-types can not be used by oracle.
For example the following was generated by Hibernate Cartridge:
<id name="id" type="java.lang.Long" unsaved-value="null">
<column name="ID" sql-type="BIGINT"/>
<generator class="native">
</generator>
</id>
and I had to chage the sql-type to NUMBER in order to generate the correct DDL
with SchemaExport task.
I am using oracle 9 dialect and the property is set as following:
<namespace name="hibernate">
<properties>
.
.
<property
name="hibernateDialect">org.hibernate.dialect.Oracle9Dialect</property>
.
.
</properties>
</namespace>
Can you please give me a tip where the problem could be?
Thanks in advance.
Walid
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3454#3454
Posting to http://forum.andromda.org/ is preferred over posting to the mailing
list!
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user