persist(course); entityManager.flush();. Running this code will persist both entities and perserve the relationship between them. Cascading ...
確定! 回上一頁