From a1ab9b4e7f95b8556af458be94bf11db5ebddb67 Mon Sep 17 00:00:00 2001 From: daveluy Date: Wed, 20 Dec 2023 13:39:18 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'DonjonBdB.java'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DonjonBdB.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/DonjonBdB.java b/DonjonBdB.java index 827ab60..d96889f 100644 --- a/DonjonBdB.java +++ b/DonjonBdB.java @@ -1,4 +1,6 @@ -public class DonjonBdB{ +public class DonjonBd extends Donjon{ + + public void connection(){ Connection cnx = DriverManager.getConnection( "jdbc:mariadb://dwarves.iut-fbleau.fr/elhaddad", "elhaddad", "NassimPHP77550"); @@ -6,4 +8,5 @@ public class DonjonBdB{ try{ Class.forName("org.mariadb.jdbc.Driver"); }catch(ClassNotFoundException); + } } \ No newline at end of file