I am having problems generating my persistence classes b/c of our poor table column naming conventions. We have columns named like:
U##FIRST_NAME –>meaning upper case first name
COMPANY# –> Meaning company number
The annotations for these columns get generated as
@Column(name=”U
which causes compilation errors.
I would like to configure the reverse engineering tool recognize the # or U## and replace them with the strings “Number” or “upper” respectively.
I thought this could be done using a template, but I am having a difficult time finding any answers in the forum for this problem.
Environment:
MyEclispe 5.5.1 GA
JPA Reverse Engineer using Hibernate 3
Thanks for any help.