-
Jan 5th, 2011, 02:26 PM
#1
DBRE table columns with invalid characters
I did a database reverse engineering which worked just fine. The problem I'm having is some columns have characters that are invalid for field names in a class so won't compile because of a syntax error. One such column has the # symbol in the column name, so the generated field name wouldn't compile. Not sure how to address this other than possibly using push-in refactor for the fields that have invalid characters and changing the field name, but keeping the original name in the @Column annotation. I'm wondering if there's a more elegant solution though. Something Roo could handle on it's own.
-
Jan 5th, 2011, 04:21 PM
#2
I'm not handling '#' as a special case. Raise a Jira request and I will look at it. Please attach a DDL
-
Jan 6th, 2011, 01:18 PM
#3
I'm having trouble generating the DDL. Can I attach the DBRE output file instead?
-
Jan 6th, 2011, 11:17 PM
#4
OK. Please raise the Jira request as well
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules