Tabnine Logo
TimestampLockingPolicy.getInitialWriteValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getInitialWriteValue
method
in
org.eclipse.persistence.descriptors.TimestampLockingPolicy

Best Java code snippets using org.eclipse.persistence.descriptors.TimestampLockingPolicy.getInitialWriteValue (Showing top 6 results out of 315)

origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Return an expression that updates the write lock
 */
public Expression getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session) {
  return builder.value(getInitialWriteValue(session));
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Returns the new Timestamp value.
 */
public Object getNewLockValue(ModifyQuery query) {
  return getInitialWriteValue(query.getSession());
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Returns the new Timestamp value.
 */
public Object getNewLockValue(ModifyQuery query) {
  return getInitialWriteValue(query.getSession());
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Returns the new Timestamp value.
 */
public Object getNewLockValue(ModifyQuery query) {
  return getInitialWriteValue(query.getSession());
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Return an expression that updates the write lock
 */
public Expression getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session) {
  return builder.value(getInitialWriteValue(session));
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Return an expression that updates the write lock
 */
public Expression getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session) {
  return builder.value(getInitialWriteValue(session));
}
org.eclipse.persistence.descriptorsTimestampLockingPolicygetInitialWriteValue

Javadoc

INTERNAL: returns the initial locking value

Popular methods of TimestampLockingPolicy

  • <init>
    INTERNAL: Create a new TimestampLockingPolicy. Defaults to using the time retrieved from the server.
  • getDescriptor
  • getWriteLockField
  • isNewerVersion
    INTERNAL: Compares the value from the row and from the object (or cache). Will return true if the ro
  • isStoredInCache
  • lockValueFromObject
  • storeInCache
  • storeInObject
  • useLocalTime
    PUBLIC: set this policy to get the time from the local machine.
  • useServerTime
    PUBLIC: set this policy to get the time from the server.
  • usesLocalTime
    PUBLIC: Return true if policy uses local time.
  • usesServerTime
    PUBLIC: Return true if policy uses server time.
  • usesLocalTime,
  • usesServerTime

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • getSharedPreferences (Context)
  • runOnUiThread (Activity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JButton (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now