diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-05-03 14:32:16 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-05-03 14:32:16 +0530 |
| commit | a299226547b15de587dad614f07ce459d01f3601 (patch) | |
| tree | a917b98c412123ad4c5362bbb6d752dc8007e047 /database/jdbc/demo/README | |
| parent | cdae21a9987ae947f58662ac1e7c2d02a469629a (diff) | |
Added jdbc demo sample application
Diffstat (limited to 'database/jdbc/demo/README')
| -rw-r--r-- | database/jdbc/demo/README | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/database/jdbc/demo/README b/database/jdbc/demo/README new file mode 100644 index 0000000..34d2481 --- /dev/null +++ b/database/jdbc/demo/README @@ -0,0 +1,18 @@ +Create a Maven project. + - Update Maven archetype catalog + - Specify quickstart archetype + - Update Java version to 25 + +Add MariaDB JDBC driver to pom.xml + +Search Google and get JDBC sample code. + +Update your App class code with Google returned sample code. Adjust the import statements. + +Specify your MariaDB database connection details in the class. + +Adjust the SQL quiery. + +Adjust the results printing code to match with your database table columns. + +Run the App class.
\ No newline at end of file |
