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