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

Get a db connection server-side

$
0
0
Hi !

I would like to do something which sounds pretty common but I could not find a straight way to do it :

In a java class server-side, I would like to get one of the connections configured in the server.properties file, but it seems there is no helper class with a method like getConnection(String connectionName).

The aim is to execute an SQL query generated server-side, and I can not use a DSRequest on a DataSource beacause the query is too complex and is dynamically created.

Did I miss something, or can anyone plase confirm that there is not such a straight method ?

Thanks !

(I am using smartgwt 3.1d)

Viewing all articles
Browse latest Browse all 4756

Trending Articles