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

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

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

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

/**
 * Execute the call.
 * @return depending of the type either the row count, row or vector of rows.
 */
public Object executeCall(Call call, AbstractRecord translationRow, AbstractSession session) throws DatabaseException {
  // If the login is null, then this accessor has never been connected.
  if (this.login == null) {
    throw DatabaseException.databaseAccessorNotConnected();
  }
  if (session.shouldLog(SessionLog.FINE, SessionLog.SQL)) {// pre-check to improve performance
    session.log(SessionLog.FINE, SessionLog.SQL, call.getLogString(this), (Object[])null, this, false);
  }
  Object result = basicExecuteCall(call, translationRow, session);
  return result;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Execute the call.
 * @return depending of the type either the row count, row or vector of rows.
 */
public Object executeCall(Call call, AbstractRecord translationRow, AbstractSession session) throws DatabaseException {
  // If the login is null, then this accessor has never been connected.
  if (this.login == null) {
    throw DatabaseException.databaseAccessorNotConnected();
  }
  if (session.shouldLog(SessionLog.FINE, SessionLog.SQL)) {// pre-check to improve performance
    session.log(SessionLog.FINE, SessionLog.SQL, call.getLogString(this), (Object[])null, this, false);
  }
  Object result = basicExecuteCall(call, translationRow, session);
  return result;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Execute the call.
 * @return depending of the type either the row count, row or vector of rows.
 */
public Object executeCall(Call call, AbstractRecord translationRow, AbstractSession session) throws DatabaseException {
  // If the login is null, then this accessor has never been connected.
  if (this.login == null) {
    throw DatabaseException.databaseAccessorNotConnected();
  }
  if (session.shouldLog(SessionLog.FINE, SessionLog.SQL)) {// pre-check to improve performance
    session.log(SessionLog.FINE, SessionLog.SQL, call.getLogString(this), (Object[])null, this, false);
  }
  Object result = basicExecuteCall(call, translationRow, session);
  return result;
}
org.eclipse.persistence.internal.databaseaccessDatasourceAccessorbasicExecuteCall

Javadoc

Execute the call to driver level datasource.

Popular methods of DatasourceAccessor

  • basicBeginTransaction
    Begin the driver level transaction.
  • basicCommitTransaction
    Commit the driver level transaction.
  • 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.
  • disconnect
    Disconnect from the datasource.
  • decrementCallCount,
  • disconnect,
  • getDatasourceConnection,
  • getLogin,
  • getReadStatementsCount,
  • getStoredProcedureStatementsCount,
  • getWriteStatementsCount,
  • incrementCallCount,
  • isConnected

Popular in Java

  • Finding current android device location
  • notifyDataSetChanged (ArrayAdapter)
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • 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