@Override
   protected ResultSet findNodesAndProperties(String lastNodeId, int offset, int limit) throws SQLException
   {
      if (findNodesAndProperties != null)
      {
         findNodesAndProperties.close();
      }

      findNodesAndProperties =
         dbConnection.prepareStatement(FIND_NODES_AND_PROPERTIES_TEMPLATE.replace("${TOP}",
            new Integer(offset + limit).toString()));

      findNodesAndProperties.setString(1, this.containerConfig.containerName);
      findNodesAndProperties.setString(2, getInternalId(lastNodeId));
      findNodesAndProperties.setString(3, this.containerConfig.containerName);

      return findNodesAndProperties.executeQuery();
   }
@ Override protected ResultSet findNodesAndProperties ( String lastNodeId , int offset , int limit ) throws SQLException { if ( findNodesAndProperties != null ) { findNodesAndProperties . close ( ) ; } findNodesAndProperties = dbConnection . prepareStatement ( FIND_NODES_AND_PROPERTIES_TEMPLATE . replace ( "${TOP}" , new Integer ( offset + limit ) . toString ( ) ) ) ; findNodesAndProperties . setString ( 1 , this . containerConfig . containerName ) ; findNodesAndProperties . setString ( 2 , getInternalId ( lastNodeId ) ) ; findNodesAndProperties . setString ( 3 , this . containerConfig . containerName ) ; return findNodesAndProperties . executeQuery ( ) ; }
{@inheritDoc}