Community
Participate
Working Groups
Currently for detached entities merged into a persistence context EclipseLink will issue a query to determine if the entity exists and will decide to do an INSERT or UPDATE. This enhancement will add support for using SQL UPSERT/MERGE (depending on DB) instead so that the entity is written to the database without requiring the additional SELECT.
Eclipse link already provides this functionality with @ExistenceChecking http://www.eclipse.org/eclipselink/documentation/2.4/jpa/extensions/a_existencechecking.htm
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink