I am trying to run an insert native query similar to the following
INSERT INTO t3(t1,t2)
SELECT t1.c1,sum(t1.c2) table1 t1 WHERE t1.c3 = 'something'
GROUP BY t1;
I am calling it using a repository and the system actually runs the query without any error. However, no value is being inserted. The query works when I try to run using the database interface.