Skip to main content



      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 05:21 Go to next message
Eclipse UserFriend
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 08:49 Go to previous message
Eclipse UserFriend
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: Mon Jul 07 16:34:23 EDT 2025

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

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

Back to the top