Closed lihongjie0209 closed 4 months ago
It.s seems better to add a final prefix before String delete, modify, insert。
public interface IUnitOfWork<T> { String INSERT = "INSERT"; String DELETE = "DELETE"; String MODIFY = "MODIFY";
It.s seems better to add a final prefix before String delete, modify, insert。
public interface IUnitOfWork<T> { String INSERT = "INSERT"; String DELETE = "DELETE"; String MODIFY = "MODIFY";
@cloudeswift variables of interface are final static by default. This PR is not required https://stackoverflow.com/questions/2430756/why-are-interface-variables-static-and-final-by-default
unit-of-work/src/main/java/com/iluwatar/unitofwork/StudentDatabase.java
how can u save a complex object graph with a simple
modify
call?should
modify
update everything in object graph?