Tabnine Logo
DatasourceAccessor.getLogin
Code IndexAdd Tabnine to your IDE (free)

How to use
getLogin
method
in
org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor

Best Java code snippets using org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.getLogin (Showing top 3 results out of 315)

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

/**
 * PUBLIC:
 * Reconnect to the database.  This can be used if the connection was disconnected or timedout.
 * This ensures that the security is checked as it is public.
 * Because the messages can take a long time to build,
 * pre-check whether messages should be logged.
 */
public void reestablishConnection(AbstractSession session) throws DatabaseException {
  if (session.shouldLog(SessionLog.CONFIG, SessionLog.CONNECTION)) {// Avoid printing if no logging required.		
    Object[] args = { getLogin() };
    session.log(SessionLog.CONFIG, SessionLog.CONNECTION, "reconnecting", args, this);
  }
  reestablishCustomizer();
  reconnect(session);
  this.isInTransaction = false;
  this.isValid = true;
  if (session.hasEventManager()) {
    session.getEventManager().postConnect(this);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC:
 * Reconnect to the database.  This can be used if the connection was disconnected or timedout.
 * This ensures that the security is checked as it is public.
 * Because the messages can take a long time to build,
 * pre-check whether messages should be logged.
 */
public void reestablishConnection(AbstractSession session) throws DatabaseException {
  if (session.shouldLog(SessionLog.CONFIG, SessionLog.CONNECTION)) {// Avoid printing if no logging required.
    Object[] args = { getLogin() };
    session.log(SessionLog.CONFIG, SessionLog.CONNECTION, "reconnecting", args, this);
  }
  reestablishCustomizer();
  reconnect(session);
  this.isInTransaction = false;
  this.isValid = true;
  if (session.hasEventManager()) {
    session.getEventManager().postConnect(this);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Reconnect to the database.  This can be used if the connection was disconnected or timedout.
 * This ensures that the security is checked as it is public.
 * Because the messages can take a long time to build,
 * pre-check whether messages should be logged.
 */
public void reestablishConnection(AbstractSession session) throws DatabaseException {
  if (session.shouldLog(SessionLog.CONFIG, SessionLog.CONNECTION)) {// Avoid printing if no logging required.		
    Object[] args = { getLogin() };
    session.log(SessionLog.CONFIG, SessionLog.CONNECTION, "reconnecting", args, this);
  }
  reestablishCustomizer();
  reconnect(session);
  this.isInTransaction = false;
  this.isValid = true;
  if (session.hasEventManager()) {
    session.getEventManager().postConnect(this);
  }
}
org.eclipse.persistence.internal.databaseaccessDatasourceAccessorgetLogin

Javadoc

Return the login

Popular methods of DatasourceAccessor

  • basicBeginTransaction
    Begin the driver level transaction.
  • basicCommitTransaction
    Commit the driver level transaction.
  • basicExecuteCall
    Execute the call to driver level datasource.
  • basicRollbackTransaction
    Rollback the driver level transaction.
  • buildConnectLog
    Build a log string of any driver metadata that can be obtained.
  • clone
    Clone the accessor.
  • closeConnection
    Close the accessor's connection. This is used only for external connection pooling when it is intend
  • closeDatasourceConnection
    Close the connection to the driver level datasource.
  • commitTransaction
    Commit a transaction on the database. If using non-managed transaction commit the local transaction.
  • connectInternal
    Connect to the database. Exceptions are caught and re-thrown as EclipseLink exceptions.
  • createCustomizer
    Attempts to create ConnectionCustomizer. If created the customizer is cached by the accessor. Called
  • decrementCallCount
    Used for load balancing and external pooling.
  • createCustomizer,
  • decrementCallCount,
  • disconnect,
  • getDatasourceConnection,
  • getReadStatementsCount,
  • getStoredProcedureStatementsCount,
  • getWriteStatementsCount,
  • incrementCallCount,
  • isConnected

Popular in Java

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSystemService (Context)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Notification (javax.management)
  • Top PhpStorm plugins
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