addStartFieldName(java.lang.String startFieldName)
PUBLIC:
Sets the name of the start field.

protected boolean

checkWastedVersioning(org.eclipse.persistence.internal.sessions.AbstractRecord modifyRow,
org.eclipse.persistence.internal.helper.DatabaseTable table)
INTERNAL:
Checks for the case where an object has multiple tables but only some
are part of a minimal update.

getCurrentTime(org.eclipse.persistence.internal.sessions.AbstractSession session)
PUBLIC:
Whenever a historical record is logically deleted (updated) or inserted,
the end and start fields respectively will be set to this value.

addHistoryTableName

Explicitly states that sourceTableName is mirrored by history table
historyTableName.
The order in which tables are added with descriptor.addTableName()
should still match the order in which mirroring historical tables are
added with descriptor.addMirroringHistoryTableName().

setShouldHandleWrites

If history is maintained via low level database triggers or application
logic a policy is still needed for point in time querying.

If Oracle flashback is used no HistoryPolicy is needed.

Setting this to false lets you use History for many other applications.
For instance a table that tracks available flights or hotel deals may
benefit from a HistoryPolicy just to simplify temporal querying.

If all hotel discounts have a start and end date, you could query on
all discounts available at a certain date.

shouldHandleWrites

public boolean shouldHandleWrites()

Answers if TopLink is responsible for writing history.

If history is maintained via low level database triggers or application
logic a policy is still usefull for point in time querying.