org.hibernate.engine.spi.SessionFactoryImplementor.findEntityGraphByName()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(99)

本文整理了Java中org.hibernate.engine.spi.SessionFactoryImplementor.findEntityGraphByName()方法的一些代码示例,展示了SessionFactoryImplementor.findEntityGraphByName()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SessionFactoryImplementor.findEntityGraphByName()方法的具体详情如下:
包路径:org.hibernate.engine.spi.SessionFactoryImplementor
类名称:SessionFactoryImplementor
方法名:findEntityGraphByName

SessionFactoryImplementor.findEntityGraphByName介绍

暂无

代码示例

代码示例来源:origin: hibernate/hibernate-orm

@Override
public RootGraphImplementor findEntityGraphByName(String name) {
  return delegate.findEntityGraphByName( name );
}

代码示例来源:origin: hibernate/hibernate-orm

@Override
@SuppressWarnings("unchecked")
public RootGraphImplementor<?> getEntityGraph(String graphName) {
  checkOpen();
  final RootGraphImplementor named = getEntityManagerFactory().findEntityGraphByName( graphName );
  if ( named == null ) {
    throw new IllegalArgumentException( "Could not locate EntityGraph with given name : " + graphName );
  }
  return named;
}

代码示例来源:origin: hibernate/hibernate-orm

@Override
public RootGraphImplementor<?> createEntityGraph(String graphName) {
  checkOpen();
  final RootGraphImplementor named = getEntityManagerFactory().findEntityGraphByName( graphName );
  if ( named != null ) {
    return named.makeRootGraph( graphName, true );
  }
  return named;
}

代码示例来源:origin: org.hibernate.orm/hibernate-core

@Override
public RootGraphImplementor findEntityGraphByName(String name) {
  return delegate.findEntityGraphByName( name );
}

代码示例来源:origin: org.hibernate.orm/hibernate-core

@Override
@SuppressWarnings("unchecked")
public RootGraphImplementor<?> getEntityGraph(String graphName) {
  checkOpen();
  final RootGraphImplementor named = getEntityManagerFactory().findEntityGraphByName( graphName );
  if ( named == null ) {
    throw new IllegalArgumentException( "Could not locate EntityGraph with given name : " + graphName );
  }
  return named;
}

代码示例来源:origin: org.hibernate.orm/hibernate-core

@Override
public RootGraphImplementor<?> createEntityGraph(String graphName) {
  checkOpen();
  final RootGraphImplementor named = getEntityManagerFactory().findEntityGraphByName( graphName );
  if ( named != null ) {
    return named.makeRootGraph( graphName, true );
  }
  return named;
}

相关文章

微信公众号

最新文章

更多

SessionFactoryImplementor类方法