Skip to content
Snippets Groups Projects
Commit 662d0abe authored by sknobl2s's avatar sknobl2s
Browse files

Kleine Anpassungen; SQL Befehle noch fehlerhaft (Insert, Join, Set up)

parent c8e88cf0
Branches Anforderungen
No related tags found
No related merge requests found
......@@ -39,7 +39,8 @@ public class TransactionControl extends AbstractDatabaseClass {
public Integer kaeuferinDB(int produktid) throws DAOException, SQLException {
Integer verkaeufer;
try (ResultSet rs = executeQuery("SELECT u.\"besitzer\"" + " FROM \"ERR\".\"shop\" u , \"ERR\".\"artikel\" s"
try (ResultSet rs = executeQuery("SELECT u.\"besitzer\""
+ " FROM \"ERR\".\"shop\" u , \"ERR\".\"artikel\" s"
+ " WHERE u.shopid = s.shopid AND "
+ "s.artikelid = '" + transaktion.getProdukt().getId() + "';");) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment