From e2e726adfb9a95d9c5ef54fa18d43c8bb33e42e2 Mon Sep 17 00:00:00 2001 From: pbs2h20apa Date: Mon, 10 Jan 2022 14:16:14 +0100 Subject: [PATCH] Connection DB with Statement --- .../executionHistory/executionHistory.bin | Bin 84520 -> 84520 bytes .../executionHistory/executionHistory.lock | Bin 17 -> 17 bytes .../.gradle/7.1.1/fileHashes/fileHashes.bin | Bin 25247 -> 25247 bytes .../.gradle/7.1.1/fileHashes/fileHashes.lock | Bin 17 -> 17 bytes .../buildOutputCleanup.lock | Bin 17 -> 17 bytes .../build/libs/Happy_Bird-1.0-SNAPSHOT.jar | Bin 369952 -> 369996 bytes .../compileJava/previous-compilation-data.bin | Bin 18024 -> 18024 bytes .../java/com/example/happy_bird/MariaDB.java | 2 +- 8 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Happy_Bird/.gradle/7.1.1/executionHistory/executionHistory.bin b/Happy_Bird/.gradle/7.1.1/executionHistory/executionHistory.bin index 1851ec3ed1aeac756f2b1fb852e1901415a7df0b..eeec7c986bd28a9e11321aebf9709062a6935486 100644 GIT binary patch delta 462 zcmZ26g>}Ug)(u9_l}ZcD%aU?S@^kW1%2LuZ%hIb-)5?+)jZ-rjARu&ep@$aB=DOFZ ztOCjg8z#SYcyU|QO5nrB#^sXJKe{kVPS4d~%u4cXHJQ+FfuTRvQAFe zIdk)|KWxSX9mSTodBTO)%-e4oGhXErs8>FaYqr1Pz3 z1Xh;a&Xuz`bYgqCyUp$Im(EWPJR?5+fFNVh^n2QjIxLs_TNh5}(_vI+pFaWQmVJ{M z&q_?+=f)_&(GC`PQ#sl2tkyJlMlW%6&(8)cxIO*54&y4bj+BX)OjHb(G-Z{(TJa*U zmzhC8$Wn8u-BGP+L905Nm%l!14isv-J2V)1L{F=PXK+{v%4BPK}E%G{aQ+>ijkYiu;FoFV3Dh&XI+r^jw delta 462 zcmZ26g>}Ug)(u9_mCEyta+0#MQ}fGG%kt98Q_2%ljM8(8it-W}ARuaUp@$aB=DOFZ ztO5?vm1kn@w~M9}txMRayJ+L|k1mXo({nW#IW~)YY~>UToPYF{y5?Vv0tIosJzVF% zZlBEfMq{!-5Z~qpzw{X8d*mY~F2Cq;wq#29uETG41pZ(2W5E;s1*gPV7#SEuStlp# zoVoefA2wqpqwHdn^jzb#^rG~nqKqQ*qO_cX#QdDR%uI-zm^N*maN#xc_M66xSNQ}? z`i|tNym*`Z@YIsfOV$l>(=RwPN^S?b>IRd*lPcSZ{mL$0n{^W=yKx=AJ~{A=`1AvU zj78J$X*23DUz_@4IpF literal 17 UcmZRcFR$V0A8pga00zuE03nG3U;qFB diff --git a/Happy_Bird/.gradle/7.1.1/fileHashes/fileHashes.bin b/Happy_Bird/.gradle/7.1.1/fileHashes/fileHashes.bin index 76018b4b14f80b3a083b0585cf15a7e7b8e4964e..5ed5863d19d4e8e426b199ea78abdea77d1074fb 100644 GIT binary patch delta 239 zcmbP#lyUx1#tq*BnH4?cC;tr82h!}5wS$h@Dtc%$fB|C*kkT^-5}H7)2*Ltu@-hQW zPh~S~zwfok>(EVg1_s7D7e$W=KuI8Q%b3gQr z8=}&a9juUbsn6v9o@$$O!%aDu72PjSo){&yd4GHyV^F>Ffn2lw4exztCfyfb^8XG* uoBcnqHU^f5KpM?S$_5)IzjkxMXp tHn!zpZ44|ofHazu9HJ}F#M*BcO(|NJuupfFCJoMoT9;O9cE z5cVlw-bgVsFhsL5FsMv?C^h+l3SWK5%`jm{fxWU5I2TS7P;FSi7A|4B_|dE#n|7); zur21VvYG2C&8BX=G5ygeSG(7SdHi(^`ybY?xa!PsQKp~&?$y}h*Y{Svd-e0%a|rFCUN#FEmmcTwiX?^!{fY1(&K68t`rZ^Z6RI@i}pm> z^{F^NTGlsv;fCN@wnsO52OpQxe=Lz?u`6utjh(yH)`S&Jd-`izLHJ*VGrs=wZMN&J zGA(^$aJ-}MZI+gKpDoYfeXCM$Z;bSvGB@}f_ezuciaE*a*}jJ;hco@2XlQV-kbzy2 zZQG=|rLF=768^PYB|?i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d*1~Ky|Oe+;`EZedaITdOlq5|b2&uB@8pJ4ysL!{ zD$QFFF)>wc?R>7HzhBoKF0DG*;2rKY=hRe|?J<`gmqaI4rkKpwd|E{0tn{?{8#!0J z4&8jJdRad;vc)wrd`rHpQQ@??pV?F=hnucwne?;%JGX1u&u?6N?j`lUxxwo${<`hX zinTkogdCJek!DsjxY@fUX;bN+$_1wVzl@*!{$0$s`k&?GUjO^1w`!d)JiqBz%jA7@ zs+v{s#|+`SD=YGaJ40$VbUwV|&NKhPtJC!&x2C zt0Rzkky&`U!F*N+#^&w7tj5ELp3S-!uqH8`R-b&(Omec02G?})1*`&-cj*Z5FhIeQ z#s(db?DX)3tmaJb48SV=4F#v~TF9!!^u-t~_kSU)6fiSOEn<~rbe?Xph}Dj%(hMl0 zK7IZopsGveK(^HMr;AuEm>eyqCn_?@Pq$mls>xIf=EzNNU(9O3*gO5eV%9(=A))C9 zmaxiAuMlG5nQprTs9jPKB2urZJVpf6aOO^ob3!lD!32P9u(`x4F6X&x^OxIb; MD#a!?mlf!60H163oB#j- diff --git a/Happy_Bird/build/tmp/compileJava/previous-compilation-data.bin b/Happy_Bird/build/tmp/compileJava/previous-compilation-data.bin index b82f8c4c287f1da5712cda1dedf066994168702e..03d3caa38b23d748b35667230efd4654ee172702 100644 GIT binary patch delta 85 zcmaFS!}y|yal#=1WrGcqUpu_GEovq3VPoTR$&HudUCs5Lap;}kc+SDll2~5C5zELV kDaF9>g2VGAhtn$#z1JK-`8>PvG&_VQ;OCl?9*MeapR?US97Ol9D2_=^j>i2o#1%M!O)Ue jUXsW0ii4q}G%YQ)C^aRPkx5dDf#EfW=NphJ4k#Z0^~fHK diff --git a/Happy_Bird/src/main/java/com/example/happy_bird/MariaDB.java b/Happy_Bird/src/main/java/com/example/happy_bird/MariaDB.java index 2040f0c..70624e0 100644 --- a/Happy_Bird/src/main/java/com/example/happy_bird/MariaDB.java +++ b/Happy_Bird/src/main/java/com/example/happy_bird/MariaDB.java @@ -1,6 +1,5 @@ package com.example.happy_bird; -import java.beans.Statement; import java.sql.*; public class MariaDB { @@ -21,6 +20,7 @@ public class MariaDB try { Class.forName(driver); con=DriverManager.getConnection(url, username, pw); + st=con.createStatement(); System.out.println("Connection is successful"); } catch (Exception e) { System.out.println("Fehler in der Verbindung");