Top Description Fields Constructors Methods
org.eclipse.persistence.history

public Class AsOfSCNClause

extends AsOfClause
Class Inheritance
Imports
org.eclipse.persistence.expressions.*, org.eclipse.persistence.internal.expressions.*, org.eclipse.persistence.internal.helper.*

Purpose:Wraps an immutable value for a past time, represented as a database system change number.

This should be specified with an Oracle platform supporting flashback, and the value will be written to the SQL FROM clause:

SELECT ... FROM EMPLOYEE AS OF SCN (value) t0, ...

Author
Stephen McRitchie
Since
OracleAS TopLink 10g (10.0.3)
See Also
AsOfClause, org.eclipse.persistence.platform.database.OraclePlatform#getSystemChangeNumberQuery

Field Summary

Inherited from org.eclipse.persistence.history.AsOfClause:
NO_CLAUSE

Constructor Summary

AccessConstructor and Description
public
AsOfSCNClause(Number systemChangeNumber)

public
AsOfSCNClause(Long systemChangeNumber)

public
AsOfSCNClause(long systemChangeNumber)

public

Method Summary

Modifier and TypeMethod and Description
public boolean
public void
printSQL(ExpressionSQLPrinter printer)

Overrides org.eclipse.persistence.history.AsOfClause.printSQL.

INTERNAL: Prints the as of clause for an expression inside of the FROM clause.
Inherited from org.eclipse.persistence.history.AsOfClause:
equalsgetValueisUniversaltoString

Constructor Detail

AsOfSCNClauseback to summary
public AsOfSCNClause(Number systemChangeNumber)
AsOfSCNClauseback to summary
public AsOfSCNClause(Long systemChangeNumber)
AsOfSCNClauseback to summary
public AsOfSCNClause(long systemChangeNumber)
AsOfSCNClauseback to summary
public AsOfSCNClause(Expression expression)

Method Detail

isAsOfSCNClauseback to summary
public boolean isAsOfSCNClause()

Overrides org.eclipse.persistence.history.AsOfClause.isAsOfSCNClause.

PUBLIC:

Annotations
@Override
printSQLback to summary
public void printSQL(ExpressionSQLPrinter printer)

Overrides org.eclipse.persistence.history.AsOfClause.printSQL.

INTERNAL: Prints the as of clause for an expression inside of the FROM clause.

Annotations
@Override