-
Database access using DAO/DTO model.
-
Mapping done with factory method, used as a method reference.
-
Where frontend does simple crud, database may speak json(b) in both directions. (Insert/update/delete and get)
-
questionable The return type of all CRUD method is a JSON array, even where only one element is expected. The 'overhead' is '[' +']', which is acceptable. Better stick to REST conventions.
-
DELETE returns an empty array, status code 200.
-
INSERT returns array containing the inserted element and
-
Notifications
You must be signed in to change notification settings - Fork 2
homberghp/olifantysbank
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
json rest services using postgresql json mapping functions
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published