Usuniecie getIfFromDB()
This commit is contained in:
parent
81ed68172e
commit
038d508f6e
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -28,10 +28,7 @@ public void delFromDB(){
|
||||
public void editInDB(){
|
||||
|
||||
};
|
||||
@Override
|
||||
public void setIdFromDB(){
|
||||
//String query = "SELECT id FROM albums WHERE musican LIKE " + this.getISBN() +";";
|
||||
}
|
||||
|
||||
|
||||
public void setMusican(String s){
|
||||
this.musican = s;
|
||||
|
@ -34,10 +34,7 @@ public void editInDB(){
|
||||
/*public void insertQuery(){
|
||||
System.out.println("INSERT INTO books VALUES('NULL', '" +name + "', '" + authorName + "', '" + authorSurname + "', '"+ publishing + "', '"+ year + "', '"+ ISBN + "', '"+ category + "');");
|
||||
}*/
|
||||
@Override
|
||||
public void setIdFromDB(){
|
||||
String query = "SELECT id FROM books WHERE isbn LIKE " + this.getISBN() +";";
|
||||
}
|
||||
|
||||
public void setPublishing(String s){
|
||||
this.publishing = s;
|
||||
}
|
||||
|
@ -28,8 +28,3 @@ public void editInDB(){
|
||||
/*public void insertQuery(){
|
||||
System.out.println("INSERT INTO books VALUES('NULL', '" +name + "', '" + authorName + "', '" + authorSurname + "', '"+ publishing + "', '"+ year + "', '"+ ISBN + "', '"+ category + "');");
|
||||
}*/
|
||||
@Override
|
||||
public void setIdFromDB(){
|
||||
// String query = "SELECT id FROM books WHERE isbn LIKE " + this.getISBN() +";";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user