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

Bug 148539

Summary: Remove shared prefixes in column names when generating entities
Product: [WebTools] Dali JPA Tools Reporter: Gunnar Wagenknecht <gunnar>
Component: GeneralAssignee: Neil Hauge <neil.hauge>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 Keywords: helpwanted
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch that adds common prefix scanning to GenTable none

Description Gunnar Wagenknecht CLA 2006-06-24 14:44:09 EDT
I thought I created an issue before but I couldn't find any related in Bugzilla. 

I'll attach a patch the represents the first catch for scanning a table for common prefixes in column names. For example, all column names start with a short prefix representing the table name.

It's a proof-of-concept patch. I think a more general solution would be to make the column names customizable when generating entities in the wizard.
Comment 1 Gunnar Wagenknecht CLA 2006-06-24 14:45:00 EDT
Created attachment 45246 [details]
patch that adds common prefix scanning to GenTable
Comment 2 Neil Hauge CLA 2011-06-02 13:43:52 EDT
Columns are now customizable when generating entities, since Helios.