A non-read-only mapping must be defined for the sequence number field [message #991351] |
Tue, 18 December 2012 11:29  |
Eclipse User |
|
|
|
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 #1015428 is a reply to message #1014924] |
Thu, 28 February 2013 09:46  |
Eclipse User |
|
|
|
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.08338 seconds