Hi
We have some tables in which id is not important and actually it is useless.
For example we have two logging tables, one is master and the other is
keeping details. The only foreign key from the master table is enough and
the second table has no relationship with other tables so if we remove its
ID we can get rid of its sequence and this will be great in terms of
performance since this table is considered to keep lots of records and its
purpose is for preserving events took place in the system

Now my question is how to remove its @Id from the entity since the OpenJPA
complains if the entity has no field marked as id

Thanks 
-- 
View this message in context: 
http://n2.nabble.com/Can-we-have-an-entity-with-no-%40Id--tp2945752p2945752.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to