Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Connection:-Commit - commit the current transaction
Calling Sequence
connection:-Commit( )
Parameters
connection
-
Connection module
Description
Commit closes the current transaction and applies all the changes to the database. After Commit has been called, a new transaction is in effect.
The current transaction can be canceled by calling Rollback.
Depending on the transaction isolation of the current Connection, updates made within a transaction may not be visible to other processes accessing the database until the changes are committed. For more information about transaction isolation, see SetOptions.
Examples
Execute an update.
At this point the new row is not in the database. If you were to exit Maple the row would be discarded. The update must be committed before it enters the database.
Now that Commit has been executed, the new row has been added to the database.
See Also
Database, Database[Connection], Database[Connection][CreatePreparedStatement], Database[Connection][CreateStatement], Database[Connection][ExecuteUpdate], Database[Connection][Rollback], Database[Statement], Database[usage]
Download Help Document