public void createInsertionSql ( Database model , Platform platform , Writer writer ) throws IOException { for ( Iterator it = _beans . iterator ( ) ; it . hasNext ( ) ; ) { writer . write ( platform . getInsertSql ( model , ( DynaBean ) it . next ( ) ) ) ; if ( it . hasNext ( ) ) { writer . write ( "\n" ) ; } } }
Generates and writes the sql for inserting the currently contained data objects .