本文整理了Java中javax.persistence.EntityManager.getEntityGraphs()
方法的一些代码示例,展示了EntityManager.getEntityGraphs()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。EntityManager.getEntityGraphs()
方法的具体详情如下:
包路径:javax.persistence.EntityManager
类名称:EntityManager
方法名:getEntityGraphs
[英]Return all named EntityGraphs that have been defined for the provided class type.
[中]返回已为提供的类类型定义的所有命名EntityGraph。
代码示例来源:origin: rapidoid/rapidoid
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return em.getEntityGraphs(entityClass);
}
}
代码示例来源:origin: rapidoid/rapidoid
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return em().getEntityGraphs(entityClass);
}
}
代码示例来源:origin: EvoSuite/evosuite
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return em.getEntityGraphs(entityClass);
}
}
代码示例来源:origin: com.kumuluz.ee/kumuluzee-jpa-common
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return em.getEntityGraphs(entityClass);
}
}
代码示例来源:origin: org.apache.tomee/openejb-core
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(final Class<T> entityClass) {
return delegate.getEntityGraphs(entityClass);
}
}
代码示例来源:origin: kumuluz/kumuluzee
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return em.getEntityGraphs(entityClass);
}
}
代码示例来源:origin: com.phloc/phloc-db
public <T> List <EntityGraph <? super T>> getEntityGraphs (final Class <T> entityClass)
{
return m_aEntityMgr.getEntityGraphs (entityClass);
}
}
代码示例来源:origin: com.agapsys.libs/agreste
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return wrappedEntityManager.getEntityGraphs(entityClass);
}
}
代码示例来源:origin: org.evolvis.bsi/kolab-ws
@Override
public <T> List<EntityGraph<? super T>>
getEntityGraphs(Class<T> entityClass)
{
return delegate.getEntityGraphs(entityClass);
}
}
代码示例来源:origin: org.jboss.eap/wildfly-jpa
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return entityManager.getEntityGraphs(entityClass);
}
代码示例来源:origin: com.helger/ph-db-jpa
@CodingStyleguideUnaware
public <T> List <EntityGraph <? super T>> getEntityGraphs (final Class <T> entityClass)
{
return m_aEntityMgr.getEntityGraphs (entityClass);
}
}
代码示例来源:origin: org.fabric3/fabric3-jpa-hibernate
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return getEntityManager().getEntityGraphs(entityClass);
}
代码示例来源:origin: kumuluz/kumuluzee
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return getEntityManager().getEntityGraphs(entityClass);
}
代码示例来源:origin: org.fabric3/fabric3-jpa-hibernate
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
initEntityManager();
return em.getEntityGraphs(entityClass);
}
代码示例来源:origin: com.kumuluz.ee/kumuluzee-jpa-common
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return getEntityManager().getEntityGraphs(entityClass);
}
代码示例来源:origin: net.oneandone/ejb-cdi-unit
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
return getEmbeddedEntityManager().getEntityGraphs(entityClass);
}
代码示例来源:origin: org.wildfly/wildfly-jpa
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> tClass) {
long start = 0;
if (isTraceEnabled)
start = System.currentTimeMillis();
try {
return getEntityManager().getEntityGraphs(tClass);
} finally {
if (isTraceEnabled) {
long elapsed = System.currentTimeMillis() - start;
ROOT_LOGGER.tracef("getEntityGraphs %s took %dms", tClass.getName(), elapsed);
}
}
}
代码示例来源:origin: org.jboss.eap/wildfly-jpa
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> tClass) {
long start = 0;
if (isTraceEnabled)
start = System.currentTimeMillis();
try {
return getEntityManager().getEntityGraphs(tClass);
} finally {
if (isTraceEnabled) {
long elapsed = System.currentTimeMillis() - start;
ROOT_LOGGER.tracef("getEntityGraphs %s took %dms", tClass.getName(), elapsed);
}
}
}
代码示例来源:origin: org.apache.tomee/openejb-core
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(final Class<T> entityClass) {
final Timer timer = Op.getEntityGraphs.start(this.timer, this);
try {
return getEntityManager().getEntityGraphs(entityClass);
} finally {
timer.stop();
}
}
代码示例来源:origin: org.glassfish.main.common/container-common
@Override
public <T> List<EntityGraph<? super T>> getEntityGraphs(Class<T> entityClass) {
try {
if(callFlowAgent.isEnabled()) {
callFlowAgent.entityManagerMethodStart(EntityManagerMethod.GET_ENTITY_GRAPHS);
}
return _getDelegate().getEntityGraphs(entityClass);
} finally {
if(callFlowAgent.isEnabled()) {
callFlowAgent.entityManagerMethodEnd();
}
}
}
内容来源于网络,如有侵权,请联系作者删除!