Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » ValidationException(The attribute of class is mapped to a primary key column in the database. Updates are not allowed.)
ValidationException [message #1807444] Thu, 30 May 2019 09:15
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
Previous Topic:Parameters for Shrinking Connection Pool Size
Next Topic:LocalDateTime is not mapped correctly
Goto Forum:
  


Current Time: Mon Oct 14 16:09:03 GMT 2019

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

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

Back to the top