Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » org.eclipse.persistence.exceptions.ValidationException(The attribute of class is mapped to a primary key column in the database. Updates are not allowed.)
org.eclipse.persistence.exceptions.ValidationException [message #1807445] Thu, 30 May 2019 09:21 Go to next message
Sai Swaroopa is currently offline Sai SwaroopaFriend
Messages: 2
Registered: May 2019
Junior Member
Error - Caused by: Exception [EclipseLink-7251] (Eclipse Persistence Services - 2.6.4.qualifier): org.eclipse.persistence.exceptions.ValidationException.
The attribute of class is mapped to a primary key column in the database. Updates are not allowed.

For resolving this issue is it enough to just add below configuration in persistence.xml for disabling weaving.

eclipse.weaving:false

Or do we need to add below tags along with above tag.

eclipselink.weaving.lazy:true

eclipselink.weaving.changetracking:true

eclipselink.weaving.fetchgroups:true

eclipselink.weaving.internal:false

eclipselink.weaving.eager:true
Re: org.eclipse.persistence.exceptions.ValidationException [message #1807453 is a reply to message #1807445] Thu, 30 May 2019 12:49 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30553
Registered: July 2009
Senior Member
It's better to ask on EclipseLink's specific forum:

https://www.eclipse.org/forums/index.php?t=thread&frm_id=111
Previous Topic:Where to download "com.amazonaws.eclipse:org.eclipse.jst.web_sdk.feature.feature.group"
Next Topic:Updating Project Application stuck at 19%
Goto Forum:
  


Current Time: Wed Oct 23 00:22:31 GMT 2019

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

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

Back to the top