0
是否可以在Spring Data Gemfire中使用自动生成的ID? 例如,如果我在SimpleGemfireRepository
有一个名为MyGemfireSpring Gemfire实体类ID生成
@region("myregion")
class MyGemfire{
@Id
@generatedValue????// if it is not possible what method I have to use to generate id in auto increment fashion?
Long id;
String name;
...
}
谢谢。我使用UUID生成器。 – Ezd