EntityManager auto flush ?

Hi

Is there some auto flush mechanism for EntityManager ? Meaning that it would flush automatically when, say, 1000 entities have been created.

Mike

Hi Mike,

There is no such mechanism. Invoke flush in your code.