Codota Logo
org.jboss.as.jpa.container
Code IndexAdd Codota to your IDE (free)

How to use org.jboss.as.jpa.container

Best Java code snippets using org.jboss.as.jpa.container (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.jboss.eap/wildfly-jpa

@Override
public void registerExtendedPersistenceContext(String scopedPuName, ExtendedEntityManager entityManager) {
  if (SFSBCallStack.getSFSBCreationBeanNestingLevel() > 0) {
    SFSBCallStack.getSFSBCreationTimeInjectedXPCs(scopedPuName).registerDeepInheritance(scopedPuName, entityManager);
  }
}
origin: org.wildfly/wildfly-jpa

private StoredProcedureQuery detachStoredProcedureQueryNonTxInvocation(EntityManager underlyingEntityManager, StoredProcedureQuery underlyingStoredProcedureQuery) {
  if (!this.isExtendedPersistenceContext() && !this.isInTx()) {
    return new StoredProcedureQueryNonTxInvocationDetacher(underlyingEntityManager, underlyingStoredProcedureQuery);
  }
  return underlyingStoredProcedureQuery;
}
origin: org.wildfly/wildfly-jpa

protected Query detachQueryNonTxInvocation(EntityManager underlyingEntityManager, Query underLyingQuery) {
  if (!this.isExtendedPersistenceContext() && !this.isInTx()) {
    return new QueryNonTxInvocationDetacher(underlyingEntityManager, underLyingQuery);
  }
  return underLyingQuery;
}
origin: org.jboss.eap/wildfly-jpa

protected <T> TypedQuery<T> detachTypedQueryNonTxInvocation(EntityManager underlyingEntityManager, TypedQuery<T> underLyingQuery) {
  if (!this.isExtendedPersistenceContext() && !this.isInTx()) {
    return new TypedQueryNonTxInvocationDetacher<>(underlyingEntityManager, underLyingQuery);
  }
  return underLyingQuery;
}
origin: org.wildfly/wildfly-jpa

@Override
public void registerExtendedPersistenceContext(String scopedPuName, ExtendedEntityManager entityManager) {
  if (SFSBCallStack.getSFSBCreationBeanNestingLevel() > 0) {
    SFSBCallStack.getSFSBCreationTimeInjectedXPCs(scopedPuName).registerShallowInheritance(scopedPuName, entityManager);
  }
}
origin: org.wildfly/wildfly-jpa

/**
 * generates a new unique ExtendedEntityManagerID
 * @return unique ExtendedEntityManagerID
 */
public static ExtendedEntityManagerKey extendedEntityManagerID() {
  return new ExtendedEntityManagerKey();
}
origin: org.wildfly/wildfly-jpa

  @Override
  protected SFSBCallStackThreadData initialValue() {
    return new SFSBCallStackThreadData();
  }
};
origin: org.wildfly/wildfly-jpa

@Override
public int hashCode() {
  // return hashCode of the ExtendedEntityManagerKey
  return ID != null ? ID.hashCode() : 0;
}
origin: org.jboss.eap/wildfly-jpa

/**
 * entered new session bean invocation, start new collection for tracking transactional entity managers created
 * without a JTA transaction.
 */
public static void pushCall() {
  nonTxStack.push(null);          // to conserve memory/cpu cycles, push a null placeholder that will only get replaced
  // with a Map if we actually need it (in add() below).
}
origin: org.wildfly/wildfly-jpa

@Override
public void teardown(final Map<String, Object> properties) {
  NonTxEmCloser.popCall();    // close any transactional entity managers that were created without a jta transaction.
}
origin: org.wildfly/wildfly-jpa

@Override
public void registerExtendedPersistenceContext(String scopedPuName, ExtendedEntityManager entityManager) {
  if (SFSBCallStack.getSFSBCreationBeanNestingLevel() > 0) {
    SFSBCallStack.getSFSBCreationTimeInjectedXPCs(scopedPuName).registerDeepInheritance(scopedPuName, entityManager);
  }
}
origin: org.jboss.eap/wildfly-jpa

private StoredProcedureQuery detachStoredProcedureQueryNonTxInvocation(EntityManager underlyingEntityManager, StoredProcedureQuery underlyingStoredProcedureQuery) {
  if (!this.isExtendedPersistenceContext() && !this.isInTx()) {
    return new StoredProcedureQueryNonTxInvocationDetacher(underlyingEntityManager, underlyingStoredProcedureQuery);
  }
  return underlyingStoredProcedureQuery;
}
origin: org.jboss.eap/wildfly-jpa

protected Query detachQueryNonTxInvocation(EntityManager underlyingEntityManager, Query underLyingQuery) {
  if (!this.isExtendedPersistenceContext() && !this.isInTx()) {
    return new QueryNonTxInvocationDetacher(underlyingEntityManager, underLyingQuery);
  }
  return underLyingQuery;
}
origin: org.wildfly/wildfly-jpa

protected <T> TypedQuery<T> detachTypedQueryNonTxInvocation(EntityManager underlyingEntityManager, TypedQuery<T> underLyingQuery) {
  if (!this.isExtendedPersistenceContext() && !this.isInTx()) {
    return new TypedQueryNonTxInvocationDetacher<>(underlyingEntityManager, underLyingQuery);
  }
  return underLyingQuery;
}
origin: org.jboss.eap/wildfly-jpa

@Override
public void registerExtendedPersistenceContext(String scopedPuName, ExtendedEntityManager entityManager) {
  if (SFSBCallStack.getSFSBCreationBeanNestingLevel() > 0) {
    SFSBCallStack.getSFSBCreationTimeInjectedXPCs(scopedPuName).registerShallowInheritance(scopedPuName, entityManager);
  }
}
origin: org.jboss.eap/wildfly-jpa

/**
 * generates a new unique ExtendedEntityManagerID
 * @return unique ExtendedEntityManagerID
 */
public static ExtendedEntityManagerKey extendedEntityManagerID() {
  return new ExtendedEntityManagerKey();
}
origin: org.jboss.eap/wildfly-jpa

  @Override
  protected SFSBCallStackThreadData initialValue() {
    return new SFSBCallStackThreadData();
  }
};
origin: org.jboss.eap/wildfly-jpa

@Override
public int hashCode() {
  // return hashCode of the ExtendedEntityManagerKey
  return ID != null ? ID.hashCode() : 0;
}
origin: org.wildfly/wildfly-jpa

/**
 * entered new session bean invocation, start new collection for tracking transactional entity managers created
 * without a JTA transaction.
 */
public static void pushCall() {
  nonTxStack.push(null);          // to conserve memory/cpu cycles, push a null placeholder that will only get replaced
  // with a Map if we actually need it (in add() below).
}
origin: org.jboss.eap/wildfly-jpa

@Override
public void teardown(final Map<String, Object> properties) {
  NonTxEmCloser.popCall();    // close any transactional entity managers that were created without a jta transaction.
}
org.jboss.as.jpa.container

Most used classes

  • PersistenceUnitSearch
    Perform scoped search for persistence unit name
  • TransactionScopedEntityManager
    Transaction scoped entity manager will be injected into SLSB or SFSB beans. At bean invocation time,
  • AbstractEntityManager
    Abstract entity manager used by all container managed entity managers.
  • CreatedEntityManagers
    Tracks the lifecycle of created XPC Entity Managers
  • EntityManagerUnwrappedTargetInvocationHandler
    Handle method execution delegation to a wrapped object using the passed entity manager to obtain the
  • ExtendedEntityManagerKey,
  • ExtendedPersistenceDeepInheritance,
  • ExtendedPersistenceShallowInheritance,
  • JPAUserTransactionListener,
  • NonTxEmCloser,
  • QueryNonTxInvocationDetacher,
  • SFSBCallStack$SFSBCallStackThreadData,
  • SFSBCallStack,
  • SFSBInjectedXPCs,
  • StoredProcedureQueryNonTxInvocationDetacher,
  • SynchronizationTypeAccess,
  • ThreadLocalStack,
  • TypedQueryNonTxInvocationDetacher,
  • UnsynchronizedEntityManagerWrapper
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now