Changeset 256 for tools

Show
Ignore:
Timestamp:
02/02/09 15:04:55 (19 months ago)
Author:
anton
Message:

Auth service query fixed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tools/routingservice/trunk/src/jp/co/orkney/restlet/util/DatabaseConnection.java

    r199 r256  
    150150            throws SQLException 
    151151    { 
    152         ResultSet rs = getResult(service, "SELECT client_id, key FROM keys"); 
     152    String q = service.getSQL()[0];      
     153        ResultSet rs = getResult(service, q); 
    153154        while (rs != null && rs.next()) 
    154155            keys.put(rs.getString("client_id").toUpperCase(), rs