Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Setting MySQL variables before DS query

$
0
0
Hi all,

I have a Datasource definition that looks sth. like this:
Code:

<operationBindings>
  <binding operationId="xyz" operationType="fetch">
    <selectClause>
        *       
    </selectClause>
    <tableClause>
      **Complex Table Clause**
    </tableClause>
    <whereClause>
      $defaultWhereClause
    </whereClause>
    <orderClause>
      Lastname
    </orderClause>
  </binding> 
...

Every time, this query is executed, a temporary MySQL variable must be set before, which is

Code:

SET SESSION group_concat_max_len = 1000000;

Is there any elegant way to do this with smartgwt ?


Thanks a lot in advance

(I'm using v8.2p_2013-10-12/PowerEdition)

Viewing all articles
Browse latest Browse all 4756

Trending Articles