java.lang.Object
org.eclipse.persistence.sessions.DatasourceLogin
org.eclipse.persistence.oxm.XMLLogin
In OX, the platform determines which parsing method will be used, DOM vs SAX.
Code Sample
XMLLogin xmlLogin = new XMLLogin(new org.eclipse.persistence.oxm.platform.DOMPlatform);
Project myProject = new MyTopLinkProject(xmlLogin)
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.sessions.DatasourceLogin
cacheTransactionIsolation, CONCURRENT_READ_WRITE, connector, platform, properties, SYNCHRONIZED_READ_ON_WRITE, SYNCHRONIZED_WRITE, SYNCRONIZED_OBJECT_LEVEL_READ_WRITE, SYNCRONIZED_OBJECT_LEVEL_READ_WRITE_DATABASE, usesExternalConnectionPooling, usesExternalTransactionController, versionString
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionINTERNAL: Returns the appropriate accessorboolean
void
void
setEqualNamespaceResolvers
(boolean equalNRs) toString()
Return a String representation of the object.Methods inherited from class org.eclipse.persistence.sessions.DatasourceLogin
addSequence, clone, connectToDatasource, dontUseExternalConnectionPooling, dontUseExternalTransactionController, getCacheTransactionIsolation, getConnector, getDatasourcePlatform, getDefaultSequence, getDefaultSequenceToWrite, getPassword, getPlatform, getPlatformClassName, getProperties, getProperty, getSecurableObjectHolder, getSequence, getSequences, getSequencesToWrite, getTableQualifier, getUserName, getVersion, isConnectionHealthValidatedOnError, removeAllSequences, removeProperty, removeSequence, setCacheTransactionIsolation, setConnector, setDatasourcePlatform, setDefaultNullValue, setDefaultSequence, setEncryptedPassword, setEncryptionClassName, setPassword, setPlatform, setPlatformClassName, setPlatformClassName, setProperties, setProperty, setSequences, setTableQualifier, setTimestampQuery, setUserName, setUsesExternalConnectionPooling, setUsesExternalTransactionController, shouldAllowConcurrentReadWrite, shouldSynchronizedReadOnWrite, shouldSynchronizeObjectLevelReadWrite, shouldSynchronizeObjectLevelReadWriteDatabase, shouldSynchronizeWrites, shouldUseExternalConnectionPooling, shouldUseExternalTransactionController, useExternalConnectionPooling, useExternalTransactionController, usePlatform
-
Constructor Details
-
XMLLogin
public XMLLogin()Default constructor. Sets the platform to be the default platform which is org.eclipse.persistence.oxm.platform.SAXPlatform. -
XMLLogin
Constructor, create a new XMLLogin based on the given platform. Valid platforms are instances of org.eclipse.persistence.oxm.platform.DOMPlaform and instances of org.eclipse.persistence.oxm.platform.SAXPlatform.- Parameters:
platform
- The platform to base this login on
-
-
Method Details
-
buildAccessor
INTERNAL: Returns the appropriate accessor- Specified by:
buildAccessor
in interfaceLogin
- Returns:
- an instance of org.eclipse.persistence.internal.oxm.XMLAccessor
-
toString
Return a String representation of the object.- Overrides:
toString
in classDatasourceLogin
- Returns:
- a string representation of the receiver
-
getDocumentPreservationPolicy
- Specified by:
getDocumentPreservationPolicy
in interfaceLogin<Platform>
-
setDocumentPreservationPolicy
- Specified by:
setDocumentPreservationPolicy
in interfaceLogin<Platform>
-
setEqualNamespaceResolvers
public void setEqualNamespaceResolvers(boolean equalNRs) -
hasEqualNamespaceResolvers
public boolean hasEqualNamespaceResolvers()- Specified by:
hasEqualNamespaceResolvers
in interfaceLogin<Platform>
-