The database generates an ID, and the ID is set in the aggregate root by Spring Data JDBC. ... if (minion.id == null) { minion.id = UUID.
確定! 回上一頁