public List storeObjects(List objects)
    {
        if(log.isDebugEnabled()) log.debug("storeObjects");

        /* One possibility of storing objects is to use the current transaction
         associated with the container */
        Transaction tx = odmg.currentTransaction();
        for (Iterator iterator = objects.iterator(); iterator.hasNext();)
        {
            tx.lock(iterator.next(), Transaction.WRITE);
        }
        return objects;
    }
public List storeObjects ( List objects ) { if ( log . isDebugEnabled ( ) ) log . debug ( "storeObjects" ) ; Transaction tx = odmg . currentTransaction ( ) ; for ( Iterator iterator = objects . iterator ( ) ; iterator . hasNext ( ) ; ) { tx . lock ( iterator . next ( ) , Transaction . WRITE ) ; } return objects ; }
@ejb:interface-method