Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Ñ character mapping problem
Ñ character mapping problem [message #383815] Fri, 21 November 2008 08:12 Go to next message
Daniel is currently offline Daniel
Messages: 1
Registered: July 2009
Junior Member
Hi every one:
I have this problem, when i map a class to a database enitity, whose name
contains an Ñ (Ograve unicode character) the file seems to work, because
after compile the Domain Project , no exception is trown, although, in
runtime when i try to invoque any operation over the new created mapping,
i get a ConversionException because Toplink can't match the generated Ñ-
class name with the one present in the project.xml.


Could anyone could tell me how to solve this problem? is there any
configuration useful for this case?


Any ligth will be preciated.
Best Regards.
Re: Ñ character mapping problem [message #383825 is a reply to message #383815] Wed, 26 November 2008 14:16 Go to previous message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

This seems to be an XML issue. Is this special character part of UTF-8?
Otherwise you may need to set the XML document "encoding" on your
document. Make sure your encoding is not set to ASCII.

A possible workaround would be to generate a project class from the
Workbench instead.

----
James : http://www.eclipselink.org


James : Wiki : Book : Blog : Twitter
Previous Topic:Problems with UnitOfWork
Next Topic:java.lang.NoSuchMethodError: com.MyClass._persistence_checkFetched
Goto Forum:
  


Current Time: Tue Oct 21 00:33:07 GMT 2014

Powered by FUDForum. Page generated in 0.02499 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software