after calling the persist method of the entity manager to persist my entity, I can’t seem to retrieve the data that is generated by the database such as create_date and some autonumbers.
the merge method does throw back the result object after calling the EntityManager.merge() but it still don’t have the additional data generated by the database.
the merge method should do the synchronization right? But it seems not to do it
any suggestions would be appreciated
It’s probably not flushing to the db at that point. Our system (using hibernate) only flushes at the end of the transaction. You can probably google around this now…! HTH