Parent Directory | Revision Log | 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 " + |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |