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

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

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

Join.setOptional介绍

暂无

代码示例

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

join.setSequentialSelect( false );
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway
key.setCascadeDeleteEnabled( false );
Iterator mappedByColumns = otherSideProperty.getValue().getColumnIterator();

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

join.setSequentialSelect( FetchMode.JOIN != matchingTable.fetch() );
join.setInverse( matchingTable.inverse() );
join.setOptional( matchingTable.optional() );
if ( !BinderHelper.isEmptyAnnotationValue( matchingTable.sqlInsert().sql() ) ) {
  join.setCustomSQLInsert( matchingTable.sqlInsert().sql().trim(),
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway

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

secondaryTableJoin.setOptional( secondaryTableSource.isOptional() );

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

join.setSequentialSelect( FetchMode.JOIN != matchingTable.fetch() );
join.setInverse( matchingTable.inverse() );
join.setOptional( matchingTable.optional() );
if ( !BinderHelper.isDefault( matchingTable.sqlInsert().sql() ) ) {
  join.setCustomSQLInsert( matchingTable.sqlInsert().sql().trim(),
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway

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

join.setSequentialSelect( false );
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway
key.setCascadeDeleteEnabled( false );
Iterator mappedByColumns = otherSideProperty.getValue().getColumnIterator();

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

if ( nullNode != null ) join.setOptional( "true".equals( nullNode.getValue() ) );

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

join.setOptional( "true".equals( nullNode.getValue() ) );

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

join.setOptional( "true".equals( nullNode.getValue() ) );

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

join.setOptional( "true".equals( nullNode.getValue() ) );

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

join.setSequentialSelect( false );
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway
key.setCascadeDeleteEnabled( false );
otherSideProperty.getValue()

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

join.setSequentialSelect( FetchMode.JOIN != matchingTable.fetch() );
join.setInverse( matchingTable.inverse() );
join.setOptional( matchingTable.optional() );
if ( !BinderHelper.isEmptyAnnotationValue( matchingTable.sqlInsert().sql() ) ) {
  join.setCustomSQLInsert( matchingTable.sqlInsert().sql().trim(),
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway

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

join.setSequentialSelect( FetchMode.JOIN != matchingTable.fetch() );
join.setInverse( matchingTable.inverse() );
join.setOptional( matchingTable.optional() );
if ( !BinderHelper.isEmptyAnnotationValue( matchingTable.sqlInsert().sql() ) ) {
  join.setCustomSQLInsert( matchingTable.sqlInsert().sql().trim(),
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway

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

join.setSequentialSelect( FetchMode.JOIN != matchingTable.fetch() );
join.setInverse( matchingTable.inverse() );
join.setOptional( matchingTable.optional() );
if ( !BinderHelper.isEmptyAnnotationValue( matchingTable.sqlInsert().sql() ) ) {
  join.setCustomSQLInsert( matchingTable.sqlInsert().sql().trim(),
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway

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

join.setKey( key );
join.setSequentialSelect( false );
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway
key.setCascadeDeleteEnabled( false );
Iterator mappedByColumns = otherSideProperty.getValue().getColumnIterator();

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

join.setSequentialSelect( false );
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway
key.setCascadeDeleteEnabled( false );
Iterator mappedByColumns = otherSideProperty.getValue().getColumnIterator();

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

join.setSequentialSelect( false );
join.setOptional( true ); //perhaps not quite per-spec, but a Good Thing anyway
key.setCascadeDeleteEnabled( false );
Iterator mappedByColumns = otherSideProperty.getValue().getColumnIterator();

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

secondaryTableJoin.setOptional( secondaryTableSource.isOptional() );

相关文章