Class Insert
java.lang.Object
org.nuxeo.ecm.core.storage.sql.jdbc.db.Insert
- All Implemented Interfaces:
Serializable
An
INSERT
statement.- Author:
- Florent Guillaume
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addIdentityColumn
(Column idColumn) Gets the statement to insert a row, or copy it ifsetValues(java.lang.String)
has been called.void
-
Field Details
-
dialect
-
-
Constructor Details
-
Insert
-
-
Method Details
-
addColumn
-
addIdentityColumn
-
setValues
-
getStatement
Gets the statement to insert a row, or copy it ifsetValues(java.lang.String)
has been called.Example:
INSERT INTO foo (a, b, c) SELECT ?, b, c FROM foo WHERE id = ?
- Returns:
- the SQL insert or copy statement
-