I'm using JPA / EclipseLink for Database-Access. Within my MySQL-Database I need to seet the Parameter group_concat_max_len to a larger number. Can I do this with JPA?
I tried it with the following statement:
Query query = em.createNativeQuery("SET group_concat_max_len = 10240;");
But this throws an java.lang.IllegalStateException: Invalid call on a query that does not return result sets.
Can somebody help?
Thanks Bernhard