Issues

Select view

Select search mode

 
50 of 85

delete on NativeQuery does not trigger flush immediately

Description

The code is:

The output is:

@Vlad Mihalcea

Details

Assignee

Reporter

Components

Affects versions

Priority

Created March 9, 2017 at 5:57 AM
Updated March 9, 2017 at 6:33 AM

Activity

Show:

wuhuaxuMarch 9, 2017 at 6:29 AM

if I use CriteriaDelete instead of entityManager.remove() to delete entity, delete on nateiveQuery trigger flush immediately as the document says.
just like the select on nativeQuery.
The PersonEntity class is :

wuhuaxuMarch 9, 2017 at 6:00 AM
Edited

select on NativeQuery trigger full flush immediately as the document says.
the code is :

the output is:

Flag notifications