Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.1.3
Name and version of the database you are using: Oracle 10
Hi,
I have a many-to-one mapping :
Code:
<many-to-one name="aggregator"
column="AGG_ID"
cascade="all"
class="uf.db.AggregatedUrlDTO"/>
inside a child entity of AggregatedUrlDTO.
I generate the ddl's using schemaexport.
by default it creates a foreign key constraint on the field agg_id
How can I tell schemaexport not to create this constraint?