Re: [hibernate-dev] Native-SQL queries and flushing

2013-09-11 Thread Steve Ebersole
I never heard alternatives, so this is now implemented as described below. https://hibernate.atlassian.net/browse/HHH-8487 On Tue 10 Sep 2013 12:05:35 AM CDT, Steve Ebersole wrote: > We will need to make a slight change to execution of native SQL > queries in order to pass the JPA 2.1 TCK. The

[hibernate-dev] Native-SQL queries and flushing

2013-09-09 Thread Steve Ebersole
We will need to make a slight change to execution of native SQL queries in order to pass the JPA 2.1 TCK. The new TCK tests that execution of a native SQL query does an "auto flush". The problem with this is that, unlike with HQL/JPQL, we do not know the tables affected by a native SQL query (