Skip to content

Instantly share code, notes, and snippets.

@shaik2many
Last active August 29, 2015 14:02
Show Gist options
  • Save shaik2many/2c563b40be3470e1341a to your computer and use it in GitHub Desktop.
Save shaik2many/2c563b40be3470e1341a to your computer and use it in GitHub Desktop.
- insertion and retrieval of the unique id is done in two steps(two db calls) if you were to implement using java approach. this can be simplied if you were to implement it in stored procedure.
- Maintenance of any structural changes are always easier at oracle/db end when compared to doing it at java end
- code is much cleaner if done at db end rather than doing it at java end
- perfect use case which is in favor of keeping the save logic at the DB end is
Multiple saves in One Single page
Project -> Project
Project -> ProjectBusiness
Project -> businesses
Project -> country
Project -> entity
Project -> contacts
Project -> advisors
Project -> Assets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment