Purpose: Used for inserting new objects into the database.
Description: This class does not have much behavior. It inherits most of it's behavior from WriteObjectQuery
| Access | Constructor and Description |
|---|---|
| public | |
| public | InsertObjectQuery(Object objectToInsert)
PUBLIC: Create an insert query with the object being inserted. |
| public |
| InsertObjectQuery | back to summary |
|---|---|
| public InsertObjectQuery() PUBLIC: Default constructor. | |
| InsertObjectQuery | back to summary |
|---|---|
| public InsertObjectQuery(Object objectToInsert) PUBLIC: Create an insert query with the object being inserted. | |
| InsertObjectQuery | back to summary |
|---|---|
| public InsertObjectQuery(Call call) PUBLIC: Create an insert query with the custom call. | |
| checkForCustomQuery | back to summary |
|---|---|
| protected DatabaseQuery checkForCustomQuery(AbstractSession session, AbstractRecord translationRow) Overrides org. INTERNAL: Check to see if a custom query should be used for this query. This is done before the query is copied and prepared/executed. null means there is none.
| |
| executeCommit | back to summary |
|---|---|
| public void executeCommit() throws DatabaseException Overrides org. INTERNAL: Perform an insert.
| |
| executeCommitWithChangeSet | back to summary |
|---|---|
| public void executeCommitWithChangeSet() throws DatabaseException Overrides org. INTERNAL: Perform an insert.
| |
| getDefaultRedirector | back to summary |
|---|---|
| protected QueryRedirector getDefaultRedirector() Overrides org. INTERNAL: Returns the specific default redirector for this query type. There are numerous default query redirectors. See ClassDescriptor for their types.
| |
| isInsertObjectQuery | back to summary |
|---|---|
| public boolean isInsertObjectQuery() Overrides org. PUBLIC: Return if this is an insert object query.
| |
| prepare | back to summary |
|---|---|
| protected void prepare() Overrides org. INTERNAL: Prepare the receiver for execution in a session.
| |
| prepareCustomQuery | back to summary |
|---|---|
| protected void prepareCustomQuery(DatabaseQuery customQuery) Overrides org. INTERNAL: Set the properties needed to be cascaded into the custom query.
| |