Package org.eclipse.persistence.history
Class AsOfSCNClause
java.lang.Object
org.eclipse.persistence.history.AsOfClause
org.eclipse.persistence.history.AsOfSCNClause
- All Implemented Interfaces:
Serializable
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, ...
- See Also:
- Author:
- Stephen McRitchie
-
Field Summary
Fields inherited from class org.eclipse.persistence.history.AsOfClause
NO_CLAUSE
-
Constructor Summary
ConstructorDescriptionAsOfSCNClause
(long systemChangeNumber) AsOfSCNClause
(Long systemChangeNumber) AsOfSCNClause
(Number systemChangeNumber) AsOfSCNClause
(Expression expression) -
Method Summary
Modifier and TypeMethodDescriptionboolean
PUBLIC:void
printSQL
(org.eclipse.persistence.internal.expressions.ExpressionSQLPrinter printer) INTERNAL: Prints the as of clause for an expression inside of the FROM clause.Methods inherited from class org.eclipse.persistence.history.AsOfClause
equals, getValue, isUniversal, toString
-
Constructor Details
-
AsOfSCNClause
-
AsOfSCNClause
-
AsOfSCNClause
public AsOfSCNClause(long systemChangeNumber) -
AsOfSCNClause
-
-
Method Details
-
printSQL
public void printSQL(org.eclipse.persistence.internal.expressions.ExpressionSQLPrinter printer) INTERNAL: Prints the as of clause for an expression inside of the FROM clause.- Overrides:
printSQL
in classAsOfClause
-
isAsOfSCNClause
public boolean isAsOfSCNClause()PUBLIC:- Overrides:
isAsOfSCNClause
in classAsOfClause
- See Also:
-