Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-258
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-258
Summary: Modeller does not use utf-8 to generate _foo.java classes
Type: Bug
Status: Assigned
Priority: Major
Project: Cayenne
Components:
CayenneModeler GUI
Versions:
1.2 [DEV]
Assignee: Andrus Adamchik
Reporter: Andreas Pardeike
Created: Mon, 10 Jan 2005 10:02 AM
Updated: Mon, 10 Jan 2005 10:02 AM
Environment: MacOS X 10.3.7, Eclipse 3.0
Description:
After clicking on an ObJEntity and choosing Generate Classes then clicking on "Generate" the modeller writes out all class files (starting with an underscore) but the encoding of those files seems not to be UTF-8 (as usually used by i.e. Eclipse).
As a result, if you have column names like AYFÖF that contain an umlaut, the generated file has strange characters in the java code which make it fail to compile.
I've seen this effect only on the primary key definition but I guess that it will happen with any other definitions in the file:
I.e.
public static final String AYFÖF_PK_COLUMN = "AYFÖF";
will actually show up as
public static final String AYF?F_PK_COLUMN = "AYF?F";
where ? marks an undisplayable character inside eclipse which makes this line show errors.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Mon Jan 10 2005 - 10:04:02 EST