Hi,
spielt es eine Rolle, ob man bei einem PreparedStatement execute() oder executeUpdate() aufruft?
Ciao,
Guybrush
spielt es eine Rolle, ob man bei einem PreparedStatement execute() oder executeUpdate() aufruft?
Ciao,
Guybrush
boolean - execute()
Executes the SQL statement in this PreparedStatement object, which may be any kind of SQL statement.
int - executeUpdate()
Executes the SQL statement in this PreparedStatement object, which must be an SQL Data Manipulation Language (DML) statement, such as INSERT, UPDATE or DELETE; or an SQL statement that returns nothing, such as a DDL statement.