| A non-read-only mapping must be defined for the sequence number field [message #991351] |
Tue, 18 December 2012 11:29  |
Miguel Missing name Messages: 9 Registered: September 2010 |
Junior Member |
|
|
I have used Eclipselink for years, currently working on 3 projects that use it. Recently I migrated to a 64-bit windows 7 machine, installed Juno and updated to Eclipselink 2.4.1. Now every project tells me when I try to run it that a non-read ony mapping is needed for the sequence field. This did not happen before, it happens now even if I go back to previous versions of eclipselink, and happens even if I am using native sequencing. Both the sessions.xml and project.xml are configured for native-sequence, and every field on my entities that maps to a primary key, native sequence column is NOT flagged as read-only. Yet the exception is thrown for EVERY entity.
I have tried running java 6 and java 7, same problem. I am at my wits end.
|
|
|
|
| Re: . [message #991525 is a reply to message #991354] |
Wed, 19 December 2012 11:38   |
James Sutherland Messages: 1844 Registered: July 2009 |
Senior Member |
|
|
Please include the exception and stack. Also try enabling logging on finest, there could be another error further up that is causing the issue.
What version are you upgrading from?
James : Wiki : Book : Blog
|
|
|
|
| Re: [message #1015428 is a reply to message #1014924] |
Thu, 28 February 2013 09:46  |
Chris Delahunt Messages: 863 Registered: July 2009 |
Senior Member |
|
|
Can you provide the log information and the versions this worked on as well as how you migrated the project file? It might also help to make a simple test case that only uses a single simple entity and see if that gets the problem, so that you can post it here or use to file a bug.
Best Regards,
Chris
|
|
|
Powered by
FUDForum. Page generated in 0.06151 seconds