hi friends,

I am in the middle of my project and I got a problem which i am not able to resolve. I am inserting an object using entitymanager.persist(object). The problem is when i am printing the id.pk value it is printed as 4, but the actual inserted value is 5.

Your help is needful.

Thanks in advance.