Class XMLFilePlatform

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.eclipse.persistence.internal.core.databaseaccess.CorePlatform<org.eclipse.persistence.internal.helper.ConversionManager>, org.eclipse.persistence.internal.databaseaccess.Platform

    public class XMLFilePlatform
    extends org.eclipse.persistence.eis.EISPlatform
    Platform for XML file emulated JCA adapter.
    See Also:
    Serialized Form
    Author:
    James
    Since:
    OracleAS TopLink 10g (10.0.3)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DOM  
      static java.lang.String FILE_NAME
      XML file interaction spec properties.
      static java.lang.String XPATH  
      static java.lang.String XQUERY  
      • Fields inherited from class org.eclipse.persistence.eis.EISPlatform

        domMethod, isDOMRecordSupported, isIndexedRecordSupported, isMappedRecordSupported, recordConverter, requiresAutoCommit, shouldConvertDataToStrings, supportsLocalTransactions, xmlConversionManager
      • Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform

        conversionManager, dataTypesConvertedFromAClass, dataTypesConvertedToAClass, defaultNativeSequenceToTable, defaultSeqenceAtNextValue, defaultSequence, endDelimiter, platformOperators, sequences, sequencesLock, startDelimiter, supportsReturnGeneratedKeys, tableQualifier, timestampQuery
    • Constructor Summary

      Constructors 
      Constructor Description
      XMLFilePlatform()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.resource.cci.InteractionSpec buildInteractionSpec​(org.eclipse.persistence.eis.interactions.EISInteraction interaction)
      Allow the platform to build the interaction spec based on properties defined in the interaction.
      protected org.eclipse.persistence.sequencing.Sequence createPlatformDefaultSequence()
      INTERNAL: Create platform-default Sequence
      void initializeDefaultQueries​(org.eclipse.persistence.descriptors.DescriptorQueryManager queryManager, org.eclipse.persistence.internal.sessions.AbstractSession session)
      INTERNAL: Allow the platform to initialize the CRUD queries to defaults.
      • Methods inherited from class org.eclipse.persistence.eis.EISPlatform

        appendParameter, buildCallFromStatement, buildNativeCall, buildRow, buildRows, createDatabaseRowFromDOMRecord, createDOMRecord, createInputRecord, createOutputRecord, getConversionManager, getRecordConverter, getValueFromRecord, isDOMRecordSupported, isIndexedRecordSupported, isMappedRecordSupported, requiresAutoCommit, setDOMInRecord, setIsDOMRecordSupported, setIsIndexedRecordSupported, setIsMappedRecordSupported, setRecordConverter, setRequiresAutoCommit, setShouldConvertDataToStrings, setSupportsLocalTransactions, setValueInRecord, shouldConvertDataToStrings, supportsLocalTransactions
      • Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform

        addOperator, addSequence, addSequence, buildSelectQueryForIdentity, buildSelectQueryForIdentity, buildSelectQueryForSequenceObject, buildSelectQueryForSequenceObject, clone, convertObject, copyInto, createConnectionCustomizer, createExpressionFor, getCustomModifyValueForCall, getDataTypesConvertedFrom, getDataTypesConvertedTo, getDefaultNativeSequenceToTable, getDefaultSeqenceAtNextValue, getDefaultSequence, getDefaultSequenceToWrite, getEndDelimiter, getIdentifierQuoteCharacter, getINClauseLimit, getOperator, getPlatformOperators, getSelectSequenceQuery, getSequence, getSequencePreallocationSize, getSequences, getSequencesToWrite, getStartDelimiter, getTableQualifier, getTimestampFromServer, getTimestampQuery, getUpdateSequenceQuery, hasDefaultSequence, initialize, initializePlatformOperators, isAccess, isAttunity, isCloudscape, isDB2, isDB2Z, isDBase, isDerby, isFirebird, isH2, isHANA, isHSQL, isInformix, isMaxDB, isMySQL, isODBC, isOracle, isOracle9, isPervasive, isPointBase, isPostgreSQL, isSQLAnywhere, isSQLServer, isSybase, isSymfoware, isTimesTen, isTimesTen7, removeAllSequences, removeSequence, sequencesAfterCloneCleanup, setConversionManager, setDefaultNativeSequenceToTable, setDefaultSeqenceAtNextValue, setDefaultSequence, setEndDelimiter, setSelectSequenceNumberQuery, setSequencePreallocationSize, setSequences, setStartDelimiter, setSupportsReturnGeneratedKeys, setTableQualifier, setTimestampQuery, setUpdateSequenceQuery, shouldNativeSequenceUseTransaction, shouldPrepare, shouldSelectDistinctIncludeOrderBy, shouldSelectIncludeOrderBy, shouldUseCustomModifyForCall, supportsIdentity, supportsNativeSequenceNumbers, supportsReturnGeneratedKeys, supportsSequenceObjects, toString, usesPlatformDefaultSequence
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XMLFilePlatform

        public XMLFilePlatform()
        Default constructor.
    • Method Detail

      • buildInteractionSpec

        public javax.resource.cci.InteractionSpec buildInteractionSpec​(org.eclipse.persistence.eis.interactions.EISInteraction interaction)
        Allow the platform to build the interaction spec based on properties defined in the interaction.
        Overrides:
        buildInteractionSpec in class org.eclipse.persistence.eis.EISPlatform
      • createPlatformDefaultSequence

        protected org.eclipse.persistence.sequencing.Sequence createPlatformDefaultSequence()
        INTERNAL: Create platform-default Sequence
        Overrides:
        createPlatformDefaultSequence in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
      • initializeDefaultQueries

        public void initializeDefaultQueries​(org.eclipse.persistence.descriptors.DescriptorQueryManager queryManager,
                                             org.eclipse.persistence.internal.sessions.AbstractSession session)
        INTERNAL: Allow the platform to initialize the CRUD queries to defaults. Configure the CRUD operations using GET/PUT and DELETE.
        Overrides:
        initializeDefaultQueries in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform