Project

General

Profile

« Previous | Next » 

Revision 136

rearranged API for incrementing the node index within the parent node

View differences:

ElementNode.java
154 154
                  "replace(nodedata,'&','&')" +
155 155
                  ",'<','&lt;') " +
156 156
                  ",'>','&gt;') " +
157
                  "FROM xml_nodes WHERE parentnodeid = ?");
157
                  "FROM xml_nodes WHERE parentnodeid = ? " +
158
                  "ORDER BY nodeindex");
158 159

  
159
                  // ORDER BY nodeindex
160

  
161 160
        // Bind the values to the query
162 161
        pstmt.setLong(1, nodeid);
163 162

  

Also available in: Unified diff