I am trying to set my embedded classes to unindexed but seems like it
doesnt work (works for normal/direct attributes though). Similar issue
is here:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/3a92afabfd2b6ac2
@PersistenceCapable
@EmbeddedOnly
public class Embedded {
@Persistent
@Extension(vendorName="datanucleus", key="gae.unindexed",
value="true")
private String us;
}
@PersistenceCapable
public class Parent
{
@Persistent(defaultFetchGroup = "true")
@Embedded(members = {
@Persistent(name="us", columns=@Column(name="us"),
extensions=@Extension(vendorName="datanucleus", key="gae.unindexed",
value="true")),
})
private Embedded e;
}
I've also tried:
@PersistenceCapable
public class Parent
{
@Persistent(defaultFetchGroup = "true")
@Embedded(members = {
@Persistent(name="us", columns=@Column(name="us"))
@Extension(vendorName="datanucleus", key="gae.unindexed",
value="true"))
private Embedded e;
}
Bit didn't work neither.
Is this a bug/feature or am I missing something?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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?hl=en.