This video illustrates how to create a Form Data Model based on a JDBC data source, an Adaptive Form based on the Form Data Model, and how to use the “INSERT” operation using Form Data Model.
Any RDBMS data source can be used, as long as the required database drivers are deployed to AEM as an OSGi bundle. Setting up a RDBMS datasource in AEM is covered in Setup Data Integration with AEM Forms.