Page 1 of 1

About Question enthuware.oce-jpad.v6.2.545 :

Posted: Wed Jan 23, 2013 1:12 pm
by ETS User
I think that second answer should not be selected as corect. FlushModeType.COMMIT on EntityManager will cause that the effect of updates made to entities in the persistence context upon queries is uspecifed.

Re: About Question enthuware.oce-jpad.v6.2.545 :

Posted: Mon Jan 28, 2013 3:51 pm
by Kejk
My mistake, Query setting will override EM setting.

Re: About Question enthuware.oce-jpad.v6.2.545 :

Posted: Mon Apr 10, 2017 6:05 am
by unvector
There is error in option4 - should be FlushModeType.AUTO, no FlushMode.AUTO.

Re: About Question enthuware.oce-jpad.v6.2.545 :

Posted: Mon Apr 10, 2017 10:35 pm
by admin
Fixed.
thank you for your feedback!