Warning BEA-2005000 "ServerSession(123456789)--You have specified multiple ids for the entity class [com.splwg.oms.model.entity.swman.SwmanAuditLogCrew] without specifying an @IdClass." (Doc ID 1939270.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Utilities Network Management System - Version 1.12.0 and later
Oracle Network Management for Utilities - DMS - Version 1.12.0 and later
Information in this document applies to any platform.

Goal

What does the following warning in the NMS Application WebLogic mean?

<Warning> <EclipseLink> <BEA-2005000> 
<2014-09-25 15:03:18.162--ServerSession(12345678)--You have specified multiple ids for the entity class
 [com.splwg.oms.model.entity.swman.SwmanAuditLogCrew]
 without specifying an @IdClass. By doing this you may lose the ability to find by identity, distributed cache support etc.
 Note: You may however use entity manager find operations by passing a list of primary key fields.
 Else, you will have to use JPQL queries to read your entities. For other id options see @PrimaryKey.>

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms