Dear SmartGWT,
I run this (quite old I know) version of SGWT Power
v8.3p_2013-01-09/PowerEdition Deployment 2013-01-09
I use this in combination with MySQL.
If i want to insert a List of Maps, in this server-side code, it creates multiple queries, one for each record. Is it possible to create one SQL query inserting multiple records? I'm not interested in any client side interaction, or fetching the inserted id's; it runs in a cronjob.
Why does this generate multiple insert queries? And how do I make sure it's just one big one?
I run this (quite old I know) version of SGWT Power
v8.3p_2013-01-09/PowerEdition Deployment 2013-01-09
I use this in combination with MySQL.
If i want to insert a List of Maps, in this server-side code, it creates multiple queries, one for each record. Is it possible to create one SQL query inserting multiple records? I'm not interested in any client side interaction, or fetching the inserted id's; it runs in a cronjob.
Code:
DSRequest req = new DSRequest("ProductProperty","add"); req.setValues(propertyData); //propertyData = ArrayList of HashMaps req.execute();
Comment