Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340494 - Possibility to annotate self defined foreign key names
Summary: Possibility to annotate self defined foreign key names
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-19 13:30 EDT by JensHeyer CLA
Modified: 2022-06-09 10:19 EDT (History)
2 users (show)

See Also:
michael.f.obrien: documentation+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JensHeyer CLA 2011-03-19 13:30:56 EDT
Build Identifier: EclipseLink Release 2.2.0

When having "long" column names foreign key construction logic produces unreadable output. In this case it would be nice if there would be a possibility to hand over self defined names. Example: foreign key for MDM_MARKET.OR_ASSOCIATED_EVENT_SECTION is MDMMRKETRSSOCIATEDEVENTSECTION.

Reproducible: Always

Steps to Reproduce:
<property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
<property name="eclipselink.ddl-generation.output-mode" value="sql-script" />
<property name="eclipselink.create-ddl-jdbc-file-name" value="create-mdm.Oracle10.sql" />
<property name="eclipselink.drop-ddl-jdbc-file-name" value="drop-mdm.Oracle10.sql" />
<property name="eclipselink.application-location" value="C:\..." />
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:19:29 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink