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
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
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.