This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I had a problem when i try to update Primary key using toplink JPA... [TopLink Warning]: 2008.04.24 08:47:45.453--UnitOfWork(620055)--Exception [TOPLINK-7251] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.ValidationException javax.persistence.RollbackException: Exception [TOPLINK-7251] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.ValidationException Exception Description: The attribute [teamUnit] of class [projectcontrol.TeamUnit] is mapped to a primary key column in the database. Updates are not allowed. at oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.EntityTransactionImpl.commit(EntityTransactionImpl.java:120) Exception Description: The attribute [teamUnit] of class [projectcontrol.TeamUnit] is mapped to a primary key column in the database. Updates are not allowed. This is the code in TeamUnit Class : @Id @Column(name = "TEAM_UNIT", nullable = false, insertable = true, updatable = true) private String teamUnit; Please be advice... Thx