48 public PGVersionDao(Connection connection) throws SQLException { |
48 public PGVersionDao(Connection connection) throws SQLException { |
49 list = connection.prepareStatement( |
49 list = connection.prepareStatement( |
50 "select id, project, name, ordinal, status " + |
50 "select id, project, name, ordinal, status " + |
51 "from lpit_version " + |
51 "from lpit_version " + |
52 "where project = ? " + |
52 "where project = ? " + |
53 "order by ordinal, name"); |
53 "order by ordinal, lower(name)"); |
54 |
54 |
55 find = connection.prepareStatement( |
55 find = connection.prepareStatement( |
56 "select id, project, name, ordinal, status " + |
56 "select id, project, name, ordinal, status " + |
57 "from lpit_version " + |
57 "from lpit_version " + |
58 "where id = ?"); |
58 "where id = ?"); |