Changed the return value of the insert & update manager
This commit is contained in:
parent
2446395f4c
commit
c77aaa413f
@ -81,12 +81,9 @@ public class InsertManager {
|
||||
|
||||
/**
|
||||
* Execute the current SQL query
|
||||
*
|
||||
* @return this class
|
||||
*/
|
||||
public InsertManager execute() {
|
||||
public void execute() {
|
||||
connection.update(prepareStatement(), values.values().toArray());
|
||||
return this;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -88,12 +88,9 @@ public class UpdateManager {
|
||||
|
||||
/**
|
||||
* Update the entries with your current conditions
|
||||
*
|
||||
* @return this class
|
||||
*/
|
||||
public UpdateManager execute() {
|
||||
public void execute() {
|
||||
connection.update(prepareUpdateStatement(), getTempParams().toArray());
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user