private void executeInserts() throws EFapsException
    {
        ConnectionResource con = null;
        try {
            final Insert insert = (Insert) runnable;
            con = Context.getThreadContext().getConnectionResource();
            long id = 0;
            for (final Entry<SQLTable, AbstractSQLInsertUpdate<?>> entry : updatemap.entrySet()) {
                if (id != 0) {
                    entry.getValue().column(entry.getKey().getSqlColId(), id);
                }
                if (entry.getKey().getSqlColType() != null) {
                    entry.getValue().column(entry.getKey().getSqlColType(), insert.getType().getId());
                }
                final Long created = ((SQLInsert) entry.getValue()).execute(con);
                if (created != null) {
                    id = created;
                    insert.evaluateInstance(created);
                }
            }
        } catch (final SQLException e) {
            throw new EFapsException(SQLRunner.class, "executeOneCompleteStmt", e);
        }
    }
private void executeInserts ( ) throws EFapsException { ConnectionResource con = null ; try { final Insert insert = ( Insert ) runnable ; con = Context . getThreadContext ( ) . getConnectionResource ( ) ; long id = 0 ; for ( final Entry < SQLTable , AbstractSQLInsertUpdate < ? > > entry : updatemap . entrySet ( ) ) { if ( id != 0 ) { entry . getValue ( ) . column ( entry . getKey ( ) . getSqlColId ( ) , id ) ; } if ( entry . getKey ( ) . getSqlColType ( ) != null ) { entry . getValue ( ) . column ( entry . getKey ( ) . getSqlColType ( ) , insert . getType ( ) . getId ( ) ) ; } final Long created = ( ( SQLInsert ) entry . getValue ( ) ) . execute ( con ) ; if ( created != null ) { id = created ; insert . evaluateInstance ( created ) ; } } } catch ( final SQLException e ) { throw new EFapsException ( SQLRunner . class , "executeOneCompleteStmt" , e ) ; } }
Execute the inserts.

@throws EFapsException the e faps exception