Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Troubleshooting Guide

- Previous: Description
- Next: Using asadmin set Command May Produce Unexpected Results

## Solution

If an application creates an entity bean with a duplicate primary key, check to see if the primary key exists by calling `findByPrimaryKey` before calling create.

- Previous: Description
- Next: Using asadmin set Command May Produce Unexpected Results

- © 2010, Oracle Corporation and/or its affiliates