Skip Headers

# WriteObjectQuery

Previous

Next

If you do not know whether or not an object is new, use a `WriteObjectQuery`: TopLink performs an existence check if necessary to determine whether to perform an insert or an update.

If you do know whether or not an object exists, you can avoid the existence check by using an `UpdateObjectQuery` (see "UpdateObjectQuery") or `InsertObjectQuery` (see "InsertObjectQuery").