org.hibernate.mapping.Join.setSequentialSelect()方法的使用及代码示例

x33g5p2x  于2022-01-22 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(117)

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

Join.setSequentialSelect介绍

暂无

代码示例

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

join.setSequentialSelect( false );

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

org.hibernate.annotations.Table matchingTable = findMatchingComplimentTableAnnotation( join );
if ( matchingTable != null ) {
  join.setSequentialSelect( FetchMode.JOIN != matchingTable.fetch() );
  join.setInverse( matchingTable.inverse() );
  join.setOptional( matchingTable.optional() );
  join.setSequentialSelect( false );
  join.setInverse( false );
  join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway

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

);
secondaryTableJoin.setSequentialSelect( secondaryTableSource.getFetchStyle() == FetchStyle.SELECT );
secondaryTableJoin.setInverse( secondaryTableSource.isInverse() );
secondaryTableJoin.setOptional( secondaryTableSource.isOptional() );

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

org.hibernate.annotations.Table matchingTable = findMatchingComplimentTableAnnotation( join );
if ( matchingTable != null ) {
  join.setSequentialSelect( FetchMode.JOIN != matchingTable.fetch() );
  join.setInverse( matchingTable.inverse() );
  join.setOptional( matchingTable.optional() );
  join.setSequentialSelect( false );
  join.setInverse( false );
  join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway

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

join.setSequentialSelect( false );

代码示例来源:origin: jboss.jboss-embeddable-ejb3/hibernate-all

public static void bindJoinToPersistentClass(
    Join join, Ejb3JoinColumn[] ejb3JoinColumns, PersistentClass persistentClass, ExtendedMappings mappings
) {
  SimpleValue key = new DependantValue( join.getTable(), persistentClass.getIdentifier() );
  join.setKey( key );
  join.setSequentialSelect( false );
  join.setInverse( false );
  join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway
  key.setCascadeDeleteEnabled( false );
  TableBinder.bindFk( persistentClass, null, ejb3JoinColumns, key, false, mappings );
  join.createPrimaryKey();
  join.createForeignKey();
  persistentClass.addJoin( join );
}

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

join.setSequentialSelect( "select".equals( fetchNode.getValue() ) );

代码示例来源:origin: jboss.jboss-embeddable-ejb3/hibernate-all

join.setSequentialSelect( "select".equals( fetchNode.getValue() ) );

代码示例来源:origin: org.hibernate/com.springsource.org.hibernate.core

join.setSequentialSelect( "select".equals( fetchNode.getValue() ) );

代码示例来源:origin: org.hibernate/com.springsource.org.hibernate

join.setSequentialSelect( "select".equals( fetchNode.getValue() ) );

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

join.setSequentialSelect( false );

代码示例来源:origin: org.hibernate/com.springsource.org.hibernate

org.hibernate.annotations.Table matchingTable = findMatchingComplimentTableAnnotation( join );
if ( matchingTable != null ) {
  join.setSequentialSelect( FetchMode.JOIN != matchingTable.fetch() );
  join.setInverse( matchingTable.inverse() );
  join.setOptional( matchingTable.optional() );
  join.setSequentialSelect( false );
  join.setInverse( false );
  join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway

代码示例来源:origin: org.hibernate/com.springsource.org.hibernate.core

org.hibernate.annotations.Table matchingTable = findMatchingComplimentTableAnnotation( join );
if ( matchingTable != null ) {
  join.setSequentialSelect( FetchMode.JOIN != matchingTable.fetch() );
  join.setInverse( matchingTable.inverse() );
  join.setOptional( matchingTable.optional() );
  join.setSequentialSelect( false );
  join.setInverse( false );
  join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway

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

org.hibernate.annotations.Table matchingTable = findMatchingComplimentTableAnnotation( join );
if ( matchingTable != null ) {
  join.setSequentialSelect( FetchMode.JOIN != matchingTable.fetch() );
  join.setInverse( matchingTable.inverse() );
  join.setOptional( matchingTable.optional() );
  join.setSequentialSelect( false );
  join.setInverse( false );
  join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway

代码示例来源:origin: jboss.jboss-embeddable-ejb3/hibernate-all

SimpleValue key = new DependantValue( join.getTable(), persistentClass.getIdentifier() );
join.setKey( key );
join.setSequentialSelect( false );
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway
key.setCascadeDeleteEnabled( false );

代码示例来源:origin: org.hibernate/com.springsource.org.hibernate

join.setSequentialSelect( false );

代码示例来源:origin: org.hibernate/com.springsource.org.hibernate.core

join.setSequentialSelect( false );

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

secondaryTableJoin.setSequentialSelect( secondaryTableSource.getFetchStyle() == FetchStyle.SELECT );
secondaryTableJoin.setInverse( secondaryTableSource.isInverse() );
secondaryTableJoin.setOptional( secondaryTableSource.isOptional() );

相关文章