int function ( int arg0 , CompiledStatement arg1 ) { if ( arg0 < 0 ) { arg0 = nextID ( ) ; sqlMap . put ( arg1 . sql , arg0 ) ; sqlLookup . put ( arg0 , arg1 . sql ) ; } csidMap . put ( arg0 , arg1 ) ; return arg0 ; }
registers a compiled statement to be managed . the only caller should be a session that is attempting to prepare a statement for the first time or process a statement that has been invalidated due to ddl changes . concode_field_sep Database database concode_elem_sep IntValueHashMap sqlMap concode_elem_sep IntKeyHashMap sessionMap concode_elem_sep IntKeyHashMap sqlLookup concode_elem_sep IntKeyHashMap csidMap concode_elem_sep int next_cs_id concode_elem_sep IntKeyIntValueHashMap useMap concode_field_sep String getSql concode_elem_sep void removeSession concode_elem_sep int nextID concode_elem_sep void linkSession concode_elem_sep void reset concode_elem_sep void resetStatements concode_elem_sep int getStatementID concode_elem_sep CompiledStatement getStatement concode_elem_sep void freeStatement