I used EntityHome of the JBOSS Seam API in my application. It's working fine in case of update(), remove() etc. But When I tried to persist a new record it give me an exception as :- Caused by: java.sql.SQLException: Cannot insert explicit value for identity column in table 'Person' when IDENTITY_INSERT is set to OFF.
So how to ON the IDENTITY_INSERT ? or needs some annotation for this?