rxue / dictionary

Practice in Java EE
0 stars 0 forks source link

dictionary/jpa > add update method to LexicalItemRepository #146

Closed rxue closed 1 week ago

rxue commented 1 month ago

TODO use PUT

rxue commented 1 month ago

When considering the PUT needs to be idempotent , it is not suitable since it might be possible to add new explanation items with this update operation => TODO : use POST so that the operation can be more flexible

rxue commented 1 week ago

rework TODO

redesign the test boilerplate code: use EntityManager only in the ACT phase of the test, i.e. al the other phase, ARRANGE and ASSERT , of the test use local transaction by means of the lower level JDBC connection directly

try to make use of Hibernate's insert script functionality to insert

rxue commented 1 week ago

TODO

make the case of removing existing explanation pass