You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

chapter-sqlcontainer.asciidoc 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [[sqlcontainer]]
  2. == Vaadin SQLContainer
  3. Vaadin SQLContainer is a container implementation that allows easy and
  4. customizable access to data stored in various SQL-speaking databases.
  5. SQLContainer supports two types of database access. Using
  6. [classname]#TableQuery#, the pre-made query generators will enable fetching,
  7. updating, and inserting data directly from the container into a database table -
  8. automatically, whereas [classname]#FreeformQuery# allows the developer to use
  9. their own, probably more complex query for fetching data and their own optional
  10. implementations for writing, filtering and sorting support - item and property
  11. handling as well as lazy loading will still be handled automatically.
  12. In addition to the customizable database connection options, SQLContainer also
  13. extends the Vaadin [classname]#Container# interface to implement more advanced
  14. and more database-oriented filtering rules. Finally, the add-on also offers
  15. connection pool implementations for JDBC connection pooling and JEE connection
  16. pooling, as well as integrated transaction support; auto-commit mode is also
  17. provided.
  18. The purpose of this section is to briefly explain the architecture and some of
  19. the inner workings of SQLContainer. It will also give the readers some examples
  20. on how to use SQLContainer in their own applications. The requirements,
  21. limitations and further development ideas are also discussed.
  22. SQLContainer is available from the Vaadin Directory under the same unrestrictive
  23. Apache License 2.0 as the Vaadin Framework itself.
  24. include::sqlcontainer-architecture.asciidoc[leveloffset=+2]
  25. include::sqlcontainer-getting-started.asciidoc[leveloffset=+2]
  26. include::sqlcontainer-filteringsorting.asciidoc[leveloffset=+2]
  27. include::sqlcontainer-editing.asciidoc[leveloffset=+2]
  28. include::sqlcontainer-caching.asciidoc[leveloffset=+2]
  29. include::sqlcontainer-referencing.asciidoc[leveloffset=+2]
  30. include::sqlcontainer-freeform.asciidoc[leveloffset=+2]
  31. include::sqlcontainer-nonimplemented.asciidoc[leveloffset=+2]
  32. include::sqlcontainer-limitations.asciidoc[leveloffset=+2]