JndiService
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.hibernate.engine.jndi.spi.JndiService(Showing top 15 results out of 315)

origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( "java:comp/UserTransaction" );
  }
}
origin: org.hibernate/hibernate-core

private TransactionAdapter() {
  if ( extendedJTATransaction == null ) {
    extendedJTATransaction = jndiService().locate( "java:comp/websphere/ExtendedJTATransaction" );
  }
}
origin: org.hibernate/hibernate-core

@Override
protected DataSource selectDataSource(String tenantIdentifier) {
  DataSource dataSource = dataSourceMap().get( tenantIdentifier );
  if ( dataSource == null ) {
    dataSource = (DataSource) jndiService.locate( baseJndiNamespace + '/' + tenantIdentifier );
    dataSourceMap().put( tenantIdentifier, dataSource );
  }
  return dataSource;
}
origin: org.hibernate/hibernate-core

@Override
protected UserTransaction locateUserTransaction() {
  final String utName = webSphereEnvironment.getUtName();
  return (UserTransaction) jndiService().locate( utName );
}
origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( UT_NAME );
  }
}
origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( UT_NAME );
  }
}
origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( UT_NAME );
  }
}
origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( UT_NAME );
  }
}
origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( UT_NAME );
  }
}
origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( UT_NAME );
  }
}
origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( UT_NAME );
  }
}
origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( UT_NAME );
  }
}
origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( UT_NAME );
  }
}
origin: org.hibernate/hibernate-core

  @Override
  protected UserTransaction locateUserTransaction() {
    return (UserTransaction) jndiService().locate( UT_NAME );
  }
}
origin: org.hibernate/hibernate-core

@Override
protected UserTransaction locateUserTransaction() {
  return (UserTransaction) jndiService().locate( UT_NAME );
}
org.hibernate.engine.jndi.spiJndiService

Javadoc

Service providing simplified access to JNDI related features needed by Hibernate.

Most used methods

  • locate
    Locate an object in JNDI by name
  • addListener
    Adds the specified listener to the given JNDI namespace.
  • bind
    Binds a value into JNDI by name.
  • unbind
    Unbind a value from JNDI by name.

Popular classes and methods

  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • BorderLayout (java.awt)
  • Font (java.awt)
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Collectors (java.util.stream)
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)