Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Problem in mapping Table having no Primary Key

Hi,
I have a table in MSSQL DB server which does not have any primary key.
When I have tried to deploy the persistance unit it gave exception as:
Entity class [class net.msl.usicaf.jpa.entities.Userid] has no primary
key specified. It should define either an @Id, @EmbeddedId or an
@IdClass.

I am using Eclipselink 1.0.2, and Oracle Weblogic 10.3.2.

How to solve this?

-- 
Tanujit Chowdhury


Back to the top