void insertValuesIntoSubqueryTable ( Session session , PersistentStore store ) { for ( int i = 0 ; i < nodes . length ; i ++ ) { Object [ ] data = nodes [ i ] . getRowValue ( session ) ; for ( int j = 0 ; j < nodeDataTypes . length ; j ++ ) { data [ j ] = nodeDataTypes [ j ] . convertToType ( session , data [ j ] , nodes [ i ] . nodes [ j ] . dataType ) ; } Row row = ( Row ) store . getNewCachedObject ( session , data ) ; try { store . indexRow ( session , row ) ; } //XXX: what conditions are being casually ignored here? catch ( HsqlException e ) { } } }
Details of IN condition optimisation for 1 . 9 . 0 Predicates with SELECT are QUERY expressions