/[projects]/android/TrainInfoService/src/dk/thoerup/traininfoservice/StationDAO.java
ViewVC logotype

Diff of /android/TrainInfoService/src/dk/thoerup/traininfoservice/StationDAO.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 841 by torben, Fri Jun 11 20:13:18 2010 UTC revision 842 by torben, Fri Jun 11 20:50:40 2010 UTC
# Line 212  public class StationDAO { Line 212  public class StationDAO {
212                  return station;                  return station;
213          }          }
214    
215          public int getBySpecificName(String name) throws SQLException {          public int getIdByName(String name) throws SQLException {
216                  String SQL = "SELECT id,name,latitude,longitude,stationcode_fjrn,stationcode_stog, stationcode_metro, address, 0.0 " +                  String SQL = "SELECT id,name,latitude,longitude,stationcode_fjrn,stationcode_stog, stationcode_metro, address, 0.0 " +
217                  "FROM trainstations " +                  "FROM trainstations " +
218                  "WHERE name = ?  AND enabled = true " +                  "WHERE name = ?  AND enabled = true " +

Legend:
Removed from v.841  
changed lines
  Added in v.842

  ViewVC Help
Powered by ViewVC 1.1.20