Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

GORM - The polyglot data access toolkit

403 views

Published on

GORM, which started as a part of Grails framework is now a standalone library. Developers can use GORM for developing the data layer of your applications. This presentation demonstrates how GORM provides a unified API for working across different types of data stores without sacrificing their uniqueness & strength.

Published in: Technology
  • Be the first to comment

GORM - The polyglot data access toolkit

  1. 1. GORM The Polyglot Data Access Toolkit Naresha K @naresha_k naresha.k@gmail.com
  2. 2. Make them usable, before making them reusable
  3. 3. GORM Groovy Object Relational Mapping
  4. 4. Grails application Standalone mode (Any Groovy App)
  5. 5. http://sdkman.io/
  6. 6. http://docs.grails.org/latest/guide/gettingStarted.html#downloadingAndInstalling
  7. 7. Read using Id
  8. 8. Querying
  9. 9. 1. Dynamic Finders
  10. 10. 1. Dynamic Finders
  11. 11. 1. Dynamic Finders
  12. 12. 1. Dynamic Finders
  13. 13. 1. Dynamic Finders
  14. 14. 1. Dynamic Finders
  15. 15. 2. Where queries
  16. 16. 2. Where queries
  17. 17. 2. Where queries
  18. 18. 2. Where queries
  19. 19. 2. Where queries
  20. 20. 2. Where queries
  21. 21. 3. Criteria Query
  22. 22. 3. Criteria Query
  23. 23. 3. Criteria Query
  24. 24. 3. Criteria Query
  25. 25. 3. Criteria Query
  26. 26. 3. Criteria Query
  27. 27. 4. HQL
  28. 28. 4. HQL
  29. 29. 4. HQL
  30. 30. 4. HQL
  31. 31. 5. SQL
  32. 32. 5. SQL
  33. 33. 5. SQL
  34. 34. 5. SQL
  35. 35. 5. SQL
  36. 36. 5. SQL4. HQL 3. Criteria Query 2. Where queries 1. Dynamic Finders
  37. 37. 5. SQL4. HQL 3. Criteria Query 2. Where queries 1. Dynamic Finders
  38. 38. Gotcha
  39. 39. Multi Tenancy Database Schema Discriminator
  40. 40. Resources • http://gorm.grails.org/latest/ • http://docs.grails.org/latest/
  41. 41. @naresha_k naresha.k@gmail.com https://www.slideshare.net/nareshak
  42. 42. Thank you

×