From a299226547b15de587dad614f07ce459d01f3601 Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sun, 3 May 2026 14:32:16 +0530 Subject: Added jdbc demo sample application --- database/jdbc/demo/README | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 database/jdbc/demo/README (limited to 'database/jdbc/demo/README') 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 -- cgit v1.2.3