Methods Summary |
---|
public java.io.Writer | buildCreationWriter(oracle.toplink.essentials.internal.sessions.AbstractSession session, java.io.Writer writer)INTERNAL:
Return the DDL to create the view.
try {
writer.write(session.getPlatform().getCreateViewString());
writer.write(getFullName());
writer.write(" AS (");
writer.write(getSelectClause());
writer.write(")");
} catch (IOException ioException) {
throw ValidationException.fileError(ioException);
}
return writer;
|
public java.io.Writer | buildDeletionWriter(oracle.toplink.essentials.internal.sessions.AbstractSession session, java.io.Writer writer)INTERNAL:
Return the DDL to drop the view.
try {
writer.write("DROP VIEW " + getFullName());
} catch (IOException ioException) {
throw ValidationException.fileError(ioException);
}
return writer;
|
public java.lang.String | getSelectClause()The select clause is the select statement that is mapped into the view.
This is database specific SQL code.
return selectClause;
|
public void | setSelectClause(java.lang.String selectClause)The select clause is the select statement that is mapped into the view.
This is database specific SQL code.
this.selectClause = selectClause;
|