For our project, there is the need to manually call the setID for inserted rows. How can this be done? Especially staying within the EJB3 spec/API's
Is it as simple as new MyObject
myObject.setID(4);
em.persist(myObject)?
What should be used for GenerationType. in this case?