org.hibernate.cfg.Configuration.buildRecursiveOrderedFkSecondPasses()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(108)

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

Configuration.buildRecursiveOrderedFkSecondPasses介绍

[英]Recursively builds a list of FkSecondPass instances ready to be processed in this order. Checking all dependencies recursively seems quite expensive, but the original code just relied on some sort of table name sorting which failed in certain circumstances.

See ANN-722 and ANN-730
[中]递归地构建准备按此顺序处理的FkSecondPass实例列表。递归地检查所有依赖项似乎非常昂贵,但原始代码只是依赖某种表名排序,在某些情况下失败。
见ANN-722和ANN-730

代码示例

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

throw new AnnotationException( sb.toString() );
buildRecursiveOrderedFkSecondPasses( orderedFkSecondPasses, isADependencyOf, startTable, dependentTable );
if ( !orderedFkSecondPasses.contains( sp ) ) {
  orderedFkSecondPasses.add( 0, sp );

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

throw new AnnotationException( sb.toString() );
buildRecursiveOrderedFkSecondPasses( orderedFkSecondPasses, isADependencyOf, startTable, dependentTable );
if ( !orderedFkSecondPasses.contains( sp ) ) {
  orderedFkSecondPasses.add( 0, sp );

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

buildRecursiveOrderedFkSecondPasses( orderedFkSecondPasses, isADependencyOf, tableName, tableName );

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

buildRecursiveOrderedFkSecondPasses( orderedFkSecondPasses, isADependencyOf, tableName, tableName );

相关文章

Configuration类方法