Wild guess:

If you load an entity in JDO and set a property to be exactly what it was
before, this won't actually flag the entity as dirty.  It won't be written
when you "commit" the session.  I don't know how you would force a write
using JDO.

Jeff

On Thu, Oct 13, 2011 at 6:23 AM, markabrucey <[email protected]> wrote:

> Basically I have gone through my datastore persist-able classes and have
> annotated properties that I never need to query on like this:
>
> @Extension(vendorName="datanucleus", key="gae.unindexed", value="true")
> private Long random;
>
> I needed to test whether or not JDO removed the index when I changed the
> POJO by annotating a property as unindexed.
>
> So I created a simple test to read in an existing entity, updated it (with
> properties holding the exact same values as before), then finally queried on
> it using the now unindexed property "random". I woud have expected for it to
> not appear again once updated (because the property is now unindexed), which
> would have suggested that JDO was handling the index deletion correctly, but
> it appears not.
>
> Are there any settings that I may need to change in order to allow JDO to
> delete the now un-needed single property indexes? Is there a way I can
> remove / vacuum these single property indexes (that I don't need anymore)
> myself?
>
> Thanks,
>
> Mark
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-java/-/whSOGsiNGrUJ.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to