I have an Entity class:
@Entity @Table(name=\"CMC_MAP_SERVER_INFO\") @NamedQuery(name=\"CmcMapServerInfo.getMapServer\", query=\"SELECT c FROM CmcMapServerIn
I had this problem as well with a message without PK.
In Oracle, you can use the ROWID column which is always there for any table.
Like this:
@Id @Column(name="ROWID") String rowid;
Hope it helps...