Home > Contents > Index >
object:save
Saves an object.
Syntax
<object:save name="object name" [flush="true|false]/>Parameters
name (required)
- Name of the object to be saved.
flush (optional)
- Specifies that upon success, the object should be flushed from the object pool. A
true
value indicates the object should be flushed. The default value isfalse
.
Description
Saves a loaded object into storage. The object must have been previously created or loaded into the object pool. Saving an object either creates a new object in storage or updates an existing object in storage.
Error Numbers
The possible values of
errno
include:
Value Description -105 Database error. -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory).Example
The following example saves
object1
and removes it from memory:<object:save name="object1" flush="true"/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.