1 | c3p.put( c3p0StyleKey, String.valueOf( value ).trim() );↵ | | |
|
2 | if ( hibp.getProperty( c3p0StyleKey ) != null ) {↵ | | |
|
3 | warnPropertyConflict( hibernateStyleKey, c3p0StyleKey );↵ | | |
|
4 | }↵ | | |
|
5 | String longC3p0StyleKey = "hibernate." + c3p0StyleKey;↵ | | |
|
6 | if ( hibp.getProperty( longC3p0StyleKey ) != null↵ | | 1 | if ( rootJoinable != null ) {↵
|
| | | 2 | joinFragment.addCrossJoin( rootJoinable.getTableName(), rootAlias );↵
|
| | | 3 | String filterCondition = rootJoinable.filterFragment( rootAlias, enabledFilters );↵
|
| | | 4 | // JoinProcessor needs to know if the where clause fragment came from a dynamic filter or not so it↵
|
| | | 5 | // can put the where clause fragment in the right place in the SQL AST. 'hasFilterCondition' keeps track↵
|
| | | 6 | // of that fact.↵
|
7 | ) {↵ | | 7 | joinFragment.setHasFilterCondition( joinFragment.addCondition( filterCondition ) );↵
|
8 | warnPropertyConflict( hibernateStyleKey, longC3p0StyleKey↵ | | 8 | if (includeExtraJoins) { //TODO: not quite sure about the full implications of this!↵
|
9 | );↵ | | 9 | addExtraJoins( joinFragment, rootAlias, rootJoinable, true );↵
|
10 | } | | 10 | }↵
|
| | | 11 | }
|