AbstractPropertyHolder.java 文件源码

java
阅读 41 收藏 0 点赞 0 评论 0

项目:lams 作者:
/**
 * Get column overriding, property first, then parent, then holder
 * replace the placeholder 'collection&&element' with nothing
 *
 * These rules are here to support both JPA 2 and legacy overriding rules.
 */
public JoinTable getOverriddenJoinTable(String propertyName) {
    JoinTable result = getExactOverriddenJoinTable( propertyName );
    if ( result == null && propertyName.contains( ".collection&&element." ) ) {
        //support for non map collections where no prefix is needed
        //TODO cache the underlying regexp
        result = getExactOverriddenJoinTable( propertyName.replace( ".collection&&element.", "."  ) );
    }
    return result;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号