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

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

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

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

/**
 * INTERNAL: Check that the qualifiers on the historical tables are
 * properly set.
 * <p>A similar method exists on ClassDescriptor.
 */
protected void verifyTableQualifiers(DatasourcePlatform platform) {
  HistoricalDatabaseTable table;
  DatabaseTable scratchTable;
  Enumeration tableEnumeration;
  String tableQualifier = platform.getTableQualifier();
  if (tableQualifier.length() == 0) {
    return;
  }
  tableEnumeration = getHistoricalTables().elements();
  while (tableEnumeration.hasMoreElements()) {
    table = (HistoricalDatabaseTable)tableEnumeration.nextElement();
    // Build a scratch table to see if history table name has a qualifier.
    scratchTable = new DatabaseTable(table.getQualifiedName());
    if (scratchTable.getTableQualifier().length() == 0) {
      scratchTable.setTableQualifier(tableQualifier);
      table.setHistoricalName(scratchTable.getQualifiedNameDelimited(platform));
    }
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL: Check that the qualifiers on the historical tables are
 * properly set.
 * <p>A similar method exists on ClassDescriptor.
 */
protected void verifyTableQualifiers(DatasourcePlatform platform) {
  String tableQualifier = platform.getTableQualifier();
  if (tableQualifier.length() == 0) {
    return;
  }
  for (DatabaseTable table : getHistoricalTables()) {
    // Build a scratch table to see if history table name has a qualifier.
    DatabaseTable scratchTable = new DatabaseTable(table.getQualifiedName());
    if (scratchTable.getTableQualifier().length() == 0) {
      scratchTable.setTableQualifier(tableQualifier);
      ((HistoricalDatabaseTable)table).setHistoricalName(scratchTable.getQualifiedNameDelimited(platform));
    }
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL: Check that the qualifiers on the historical tables are
 * properly set.
 * <p>A similar method exists on ClassDescriptor.
 */
protected void verifyTableQualifiers(DatasourcePlatform platform) {
  String tableQualifier = platform.getTableQualifier();
  if (tableQualifier.length() == 0) {
    return;
  }
  for (DatabaseTable table : getHistoricalTables()) {
    // Build a scratch table to see if history table name has a qualifier.
    DatabaseTable scratchTable = new DatabaseTable(table.getQualifiedName());
    if (scratchTable.getTableQualifier().length() == 0) {
      scratchTable.setTableQualifier(tableQualifier);
      ((HistoricalDatabaseTable)table).setHistoricalName(scratchTable.getQualifiedNameDelimited(platform));
    }
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Copy the state into the new platform.
 */
public void copyInto(Platform platform) {
  if (!(platform instanceof DatasourcePlatform)) {
    return;
  }
  DatasourcePlatform datasourcePlatform = (DatasourcePlatform)platform;
  datasourcePlatform.setTableQualifier(getTableQualifier());
  datasourcePlatform.setTimestampQuery(this.timestampQuery);
  datasourcePlatform.setConversionManager(getConversionManager());
  if (hasDefaultSequence()) {
    datasourcePlatform.setDefaultSequence(getDefaultSequence());
  }
  datasourcePlatform.setSequences(getSequences());
  datasourcePlatform.sequencesAfterCloneCleanup();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Copy the state into the new platform.
 */
public void copyInto(Platform platform) {
  if (!(platform instanceof DatasourcePlatform)) {
    return;
  }
  DatasourcePlatform datasourcePlatform = (DatasourcePlatform)platform;
  datasourcePlatform.setTableQualifier(getTableQualifier());
  datasourcePlatform.setTimestampQuery(this.timestampQuery);
  datasourcePlatform.setConversionManager(getConversionManager());
  if (hasDefaultSequence()) {
    datasourcePlatform.setDefaultSequence(getDefaultSequence());
  }
  datasourcePlatform.setSequences(getSequences());
  datasourcePlatform.sequencesAfterCloneCleanup();
  datasourcePlatform.defaultNativeSequenceToTable = this.defaultNativeSequenceToTable;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Copy the state into the new platform.
 */
@Override
public void copyInto(Platform platform) {
  if (!(platform instanceof DatasourcePlatform)) {
    return;
  }
  DatasourcePlatform datasourcePlatform = (DatasourcePlatform)platform;
  datasourcePlatform.setTableQualifier(getTableQualifier());
  datasourcePlatform.setTimestampQuery(this.timestampQuery);
  datasourcePlatform.setConversionManager(getConversionManager());
  if (hasDefaultSequence()) {
    datasourcePlatform.setDefaultSequence(getDefaultSequence());
  }
  datasourcePlatform.setSequences(getSequences());
  datasourcePlatform.sequencesAfterCloneCleanup();
  datasourcePlatform.setDefaultNativeSequenceToTable(getDefaultNativeSequenceToTable());
  datasourcePlatform.setDefaultSeqenceAtNextValue(getDefaultSeqenceAtNextValue());
}
org.eclipse.persistence.internal.databaseaccessDatasourcePlatformgetTableQualifier

Javadoc

Return the qualifier for the table. Required by some databases such as Oracle and DB2

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:
  • createPlatformDefaultSequence
    INTERNAL: Create platform-default Sequence
  • 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
  • getPlatformOperators,
  • getSequencePreallocationSize,
  • getSequences,
  • getStartDelimiter,
  • getTimestampQuery,
  • hasDefaultSequence,
  • initializePlatformOperators,
  • sequencesAfterCloneCleanup,
  • setConversionManager

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ImageIO (javax.imageio)
  • Github Copilot alternatives
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