javax.persistence.PersistenceException: Exception [EclipseLink-7251] (Eclipse Persist ence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.ValidationException [junit] Exception Description: The attribute [AL_ID] of class [oracle.documaker.config.jpa.ALConfigContext] is mapped to a primary key column in the database. Updates are not allowed. [junit] at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush (EntityManagerImpl.java:744) [junit] at org.eclipse.persistence.internal.jpa.EJBQueryImpl.performPre QueryFlush(EJBQueryImpl.java:1237) [junit] at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeUpd ate(EJBQueryImpl.java:532) [junit] at oracle.documaker.config.jpa.JPAConfiguration.removeJPAListFo r(JPAConfiguration.java:600) [junit] at oracle.documaker.config.jpa.JPAConfiguration.removePropertyL ist(JPAConfiguration.java:456) [junit] at oracle.documaker.junit.JPAConfiguration_Oracle_Test.JPAConfi guration_Oracle_Test_testSetPropertyList(JPAConfiguration_Or acle_Test.java:354) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via eclipse.org by Unknown author, 1 year ago
[oracle.documaker.config.jpa.ALConfigContext] is mapped to a primary key column in the database. Updates are not allowed. [junit] at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush (EntityManagerImpl.java:744) [junit] at
via eclipse.org by Unknown author, 2 years ago
[oracle.documaker.config.jpa.ALConfigContext] is mapped to a primary key column in the database. Updates are not allowed. [junit] at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush (EntityManagerImpl.java:744) [junit] at
via knowcoding.com by Unknown author, 2 years ago
org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of com.marcos.model.Ciudad.id at org.hibernate.ejb.AbstractEntityManagerImpl.throwP ersistenceException(AbstractEntityManagerImpl.java :614) at
via javaprogrammingforums.com by Unknown author, 2 years ago
org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of com.marcos.model.Ciudad.id at org.hibernate.ejb.AbstractEntityManagerImpl.throwP ersistenceException(AbstractEntityManagerImpl.java :614) at
via knowcoding.com by Unknown author, 2 years ago
org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of com.marcos.model.Ciudad.id at org.hibernate.ejb.AbstractEntityManagerImpl.throwP ersistenceException(AbstractEntityManagerImpl.java :614) at
via knowcoding.com by Unknown author, 2 years ago
org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of com.marcos.model.Ciudad.id at org.hibernate.ejb.AbstractEntityManagerImpl.throwP ersistenceException(AbstractEntityManagerImpl.java :614) at
javax.persistence.PersistenceException: Exception [EclipseLink-7251] (Eclipse Persist ence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.ValidationException [junit] Exception Description: The attribute [AL_ID] of class [oracle.documaker.config.jpa.ALConfigContext] is mapped to a primary key column in the database. Updates are not allowed. [junit] at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush (EntityManagerImpl.java:744) [junit] at org.eclipse.persistence.internal.jpa.EJBQueryImpl.performPre QueryFlush(EJBQueryImpl.java:1237) [junit] at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeUpd ate(EJBQueryImpl.java:532) [junit] at oracle.documaker.config.jpa.JPAConfiguration.removeJPAListFo r(JPAConfiguration.java:600) [junit] at oracle.documaker.config.jpa.JPAConfiguration.removePropertyL ist(JPAConfiguration.java:456) [junit] at oracle.documaker.junit.JPAConfiguration_Oracle_Test.JPAConfi guration_Oracle_Test_testSetPropertyList(JPAConfiguration_Or acle_Test.java:354) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.lang.reflect.Method.invoke(Method.java:597)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.