Tabnine Logo
DatasourcePlatform.createPlatformDefaultSequence
Code IndexAdd Tabnine to your IDE (free)

How to use
createPlatformDefaultSequence
method
in
org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform

Best Java code snippets using org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform.createPlatformDefaultSequence (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Get default sequence
 */
@Override
public Sequence getDefaultSequence() {
  if (!hasDefaultSequence()) {
    setDefaultSequence(createPlatformDefaultSequence());
  }
  return defaultSequence;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Get default sequence
 */
public Sequence getDefaultSequence() {
  if (!hasDefaultSequence()) {
    setDefaultSequence(createPlatformDefaultSequence());
  }
  return defaultSequence;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Get default sequence
 */
public Sequence getDefaultSequence() {
  if (!hasDefaultSequence()) {
    setDefaultSequence(createPlatformDefaultSequence());
  }
  return defaultSequence;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Indicates whether defaultSequence is the same as platform default sequence.
 */
@Override
public boolean usesPlatformDefaultSequence() {
  if (!hasDefaultSequence()) {
    return true;
  } else {
    return getDefaultSequence().equals(createPlatformDefaultSequence());
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Indicates whether defaultSequence is the same as platform default sequence.
 */
public boolean usesPlatformDefaultSequence() {
  if (!hasDefaultSequence()) {
    return true;
  } else {
    return getDefaultSequence().equals(createPlatformDefaultSequence());
  }
}
 
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Indicates whether defaultSequence is the same as platform default sequence.
 */
public boolean usesPlatformDefaultSequence() {
  if (!hasDefaultSequence()) {
    return true;
  } else {
    return getDefaultSequence().equals(createPlatformDefaultSequence());
  }
}
 
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Set default sequence. In case the passed sequence is of type DefaultSequence - use platformDefaultSequence
 * with name and size of the passed sequence.
 */
public void setDefaultSequence(Sequence sequence) {
  if (sequence instanceof DefaultSequence) {
    Sequence platformDefaultSequence = createPlatformDefaultSequence();
    if (platformDefaultSequence != null) {
      platformDefaultSequence.setName(sequence.getName());
      if (((DefaultSequence)sequence).hasPreallocationSize()) {
        platformDefaultSequence.setPreallocationSize(sequence.getPreallocationSize());
      }
    }
    defaultSequence = platformDefaultSequence;
  } else {
    defaultSequence = sequence;
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Set default sequence. In case the passed sequence is of type DefaultSequence - use platformDefaultSequence
 * with name and size of the passed sequence.
 */
public void setDefaultSequence(Sequence sequence) {
  if (sequence instanceof DefaultSequence) {
    Sequence platformDefaultSequence = createPlatformDefaultSequence();
    if (platformDefaultSequence != null) {
      platformDefaultSequence.setName(sequence.getName());
      if (((DefaultSequence)sequence).hasPreallocationSize()) {
        platformDefaultSequence.setPreallocationSize(sequence.getPreallocationSize());
      }
    }
    defaultSequence = platformDefaultSequence;
  } else {
    defaultSequence = sequence;
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Set default sequence. In case the passed sequence is of type DefaultSequence - use platformDefaultSequence
 * with name and size of the passed sequence.
 */
@Override
public void setDefaultSequence(Sequence sequence) {
  if (sequence instanceof DefaultSequence) {
    Sequence platformDefaultSequence = createPlatformDefaultSequence();
    if (platformDefaultSequence != null) {
      platformDefaultSequence.setName(sequence.getName());
      if (((DefaultSequence)sequence).hasPreallocationSize()) {
        platformDefaultSequence.setPreallocationSize(sequence.getPreallocationSize());
      }
    }
    defaultSequence = platformDefaultSequence;
  } else {
    defaultSequence = sequence;
  }
}
org.eclipse.persistence.internal.databaseaccessDatasourcePlatformcreatePlatformDefaultSequence

Javadoc

INTERNAL: Create platform-default Sequence

Popular methods of DatasourcePlatform

  • <init>
  • addOperator
  • appendParameter
    Add the parameter. Convert the parameter to a string and write it.
  • copyInto
    Copy the state into the new platform.
  • createConnectionCustomizer
    INTERNAL:
  • getConversionManager
    The platform hold its own instance of conversion manager to allow customization.
  • getCustomModifyValueForCall
    Allow for the platform to handle the representation of parameters specially.
  • getDefaultSequence
    Get default sequence
  • getEndDelimiter
    Delimiter to use for fields and tables using spaces or other special values. Some databases use diff
  • getPlatformOperators
    Return any platform-specific operators
  • getSequencePreallocationSize
  • getSequences
    INTERNAL: Returns a map of sequence names to Sequences (may be null).
  • getSequencePreallocationSize,
  • getSequences,
  • getStartDelimiter,
  • getTableQualifier,
  • getTimestampQuery,
  • hasDefaultSequence,
  • initializePlatformOperators,
  • sequencesAfterCloneCleanup,
  • setConversionManager

Popular in Java

  • Making http requests using okhttp
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • JButton (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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