Hi, On Mon, Mar 2, 2009 at 13:56, neman ould sidahmed <[email protected]> wrote: > I get my item with the quer > > "select * from mynamespace:item where mynamespace:title = 'nould' " > the title is unique. > > ok, I get my item, I update for example the title for this item and I save > the session, the new > value of title is 'nould1'. > > I do the same query, with new tilte, the new query is : > "select * from mynamespace:item where mynamespace:title = 'nould1' " > the query for that item does not return anymore? > > If I check with XPath qury, I got the item. I think the problem is the > re-index of this item.
Whether you use SQL or XPath is just a syntactical difference but does not change the way how items are indexed or queried. If it works with XPath, then something must be wrong with your SQL statement. regards marcel
