13 questions
EntityTo establish a relationship inside, we mapped it using the @AnyToOne annotation. For example:@Entitypublic class Book { @Id @GeneratedValue private long id; @Column private String name; @ManyToO...
What I'm going to do now is to store multiple roles for each user, and there are several permissions attached to the role.user1.Role = [writer, reader]user2.Role = [editor, reader]writer.permission = ...
I wrote the code as below.There is no problem when running orderUser When executing orderDelete, the table is being modified normally, but a query statement error occurs.public interface BasketReposit...
« | - 2 - |
© 2024 OneMinuteCode. All rights reserved.