Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340494

Summary: Possibility to annotate self defined foreign key names
Product: z_Archived Reporter: JensHeyer
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipselink.orm-inbox, michael.f.obrien
Version: unspecifiedFlags: michael.f.obrien: documentation+
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

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