congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • BoxLayout (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now