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