Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Troubleshooting Guide

- Previous: Error: System cannot find the path specified
- Next: Solution

## Description

A `com.sun.jdo.api.persistence.support.JDODataStoreException` is generated by an application, with a nested `java.sql.SQLException` indicating a duplicate primary key.

Even if the application is checking for a `CreateException`, it does not see one. The Enterprise JavaBeans specification requires a `CreateException` to be thrown only if two beans with the same primary key are created in the same transaction, so a `CreateException` is not thrown on transaction rollback if two entity beans with duplicate primary keys are created.

- Previous: Error: System cannot find the path specified
- Next: Solution

- © 2010, Oracle Corporation and/or its affiliates