Package org.apache.ojb.ejb.odmg

Examples of org.apache.ojb.ejb.odmg.ArticleManagerODMGLocal


     * @ejb:interface-method
     */
    public void nestedRollback(List articles, List persons)
    {
        //store all objects
        ArticleManagerODMGLocal am = getArticleManager();
        PersonManagerODMGLocal pm = getPersonManager();
        am.storeArticles(articles);
        pm.storePersons(persons);

        // after all is done we throw an exception to activate rollback process
        throw new EJBException("## testNestedRollback - Test rollback behaviour ##");
    }
View Full Code Here


     *
     * @ejb:interface-method
     */
    public void nestedRollback2(ArticleVO article, List persons)
    {
        ArticleManagerODMGLocal am = getArticleManager();
        PersonManagerODMGLocal pm = getPersonManager();
        pm.storePersons(persons);
        am.failureStore(article);
    }
View Full Code Here

TOP

Related Classes of org.apache.ojb.ejb.odmg.ArticleManagerODMGLocal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.