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

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

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

Join.isOptional介绍

暂无

代码示例

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

if ( join.isOptional() ) {
  joinElement.addAttribute( "optional", "true" );

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

Join join = (Join) joinItr.next();
isNullableTable[tableIndex] = join.isOptional() ||
    creationContext.getSessionFactory()
        .getSessionFactoryOptions()
isInverses.add( join.isInverse() );
isNullables.add(
    join.isOptional() || creationContext.getSessionFactory()
        .getSessionFactoryOptions()
        .getJpaCompliance()
isNullableTable[j] = join.isOptional()
    || creationContext.getSessionFactory()
    .getSessionFactoryOptions()

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

qualifiedTableNames[j] = determineTableName( join.getTable(), jdbcEnvironment );
isInverseTable[j] = join.isInverse();
isNullableTable[j] = join.isOptional()
    || creationContext.getSessionFactory()
        .getSessionFactoryOptions()
isInverses.add( join.isInverse() );
isNullables.add(
    join.isOptional() || creationContext.getSessionFactory()
        .getSessionFactoryOptions()
        .getJpaCompliance()

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

attribute.setOptional( secondaryTableJoin.isOptional() );
attribute.setOptional( secondaryTableJoin.isOptional() );
attribute.setOptional( secondaryTableJoin.isOptional() );
attribute.setOptional( secondaryTableJoin.isOptional() );

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

if ( join.isOptional() ) {
  joinElement.addAttribute( "optional", "true" );

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

Property prop = createProperty( value, propertyName, persistentClass
  .getEntityName(), subnode, mappings, inheritedMetas );
prop.setOptional( join.isOptional() );
join.addProperty( prop );

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

);
isInverseTable[j] = join.isInverse();
isNullableTable[j] = join.isOptional();
cascadeDeleteEnabled[j] = join.getKey().isCascadeDeleteEnabled() && 
  factory.getDialect().supportsCascadeDelete();
isDeferreds.add( new Boolean( join.isSequentialSelect() ) );
isInverses.add( new Boolean( join.isInverse() ) );
isNullables.add( new Boolean( join.isOptional() ) );
isLazies.add( new Boolean( lazyAvailable && join.isLazy() ) );
if ( join.isSequentialSelect() && !persistentClass.isClassOrSuperclassJoin(join) ) hasDeferred = true;

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

Property prop = createProperty( value, propertyName, persistentClass
  .getEntityName(), subnode, mappings, inheritedMetas );
prop.setOptional( join.isOptional() );
join.addProperty( prop );

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

Property prop = createProperty( value, propertyName, persistentClass
  .getEntityName(), subnode, mappings, inheritedMetas );
prop.setOptional( join.isOptional() );
join.addProperty( prop );

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

Property prop = createProperty( value, propertyName, persistentClass
  .getEntityName(), subnode, mappings, inheritedMetas );
prop.setOptional( join.isOptional() );
join.addProperty( prop );

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

Join join = (Join) joinIter.next();
isNullableTable[tableIndex++] = join.isOptional();

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

);
isInverseTable[j] = join.isInverse();
isNullableTable[j] = join.isOptional();
cascadeDeleteEnabled[j] = join.getKey().isCascadeDeleteEnabled() && 
  factory.getDialect().supportsCascadeDelete();
isDeferreds.add( join.isSequentialSelect() );
isInverses.add( join.isInverse() );
isNullables.add( join.isOptional() );
isLazies.add( lazyAvailable && join.isLazy() );
if ( join.isSequentialSelect() && !persistentClass.isClassOrSuperclassJoin(join) ) hasDeferred = true;

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

Join join = (Join) joinIter.next();
isNullableTable[tableIndex++] = join.isOptional();

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

);
isInverseTable[j] = join.isInverse();
isNullableTable[j] = join.isOptional();
cascadeDeleteEnabled[j] = join.getKey().isCascadeDeleteEnabled() && 
  factory.getDialect().supportsCascadeDelete();
isDeferreds.add( join.isSequentialSelect() );
isInverses.add( join.isInverse() );
isNullables.add( join.isOptional() );
isLazies.add( lazyAvailable && join.isLazy() );
if ( join.isSequentialSelect() && !persistentClass.isClassOrSuperclassJoin(join) ) hasDeferred = true;

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

attribute.setOptional( secondaryTableJoin.isOptional() );
attribute.setOptional( secondaryTableJoin.isOptional() );
attribute.setOptional( secondaryTableJoin.isOptional() );
attribute.setOptional( secondaryTableJoin.isOptional() );

相关文章