如何在JDO中使用indexed = false?

时间:2011-12-22 09:01:01

标签: google-app-engine

我有一个数据类(在Google app Engine,JDO中)

@PersistenceCapable
public class Employee {
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;

    @Persistent
    private String firstName;

    @Persistent
    private String lastName;

    @Persistent
    private Date hireDate;
}

我不希望 hireDate 被编入索引,我该怎么做?

0 个答案:

没有答案