Package org.apache.onami.persist.test

Examples of org.apache.onami.persist.test.TestEntity


    @Override
    @Transactional( ignore = Exception.class )
    public void doTransactional()
        throws TestException, RuntimeTestException
    {
        storeEntity( new TestEntity() );
        doOtherTasks();
        throw new RuntimeTestException( getClass().getSimpleName() );
    }
View Full Code Here


    @Override
    @Transactional( rollbackOn = RuntimeTestException.class )
    public void doTransactional()
        throws TestException, RuntimeTestException
    {
        storeEntity( new TestEntity() );
        doOtherTasks();
    }
View Full Code Here

    @Override
    @Transactional( ignore = Exception.class )
    public void doTransactional()
        throws TestException, RuntimeTestException
    {
        storeEntity( new TestEntity() );
        doOtherTasks();
        throw new TestException();
    }
View Full Code Here

    @Override
    @Transactional( rollbackOn = TestException.class )
    public void doTransactional()
        throws TestException, RuntimeTestException
    {
        storeEntity( new TestEntity() );
        doOtherTasks();
    }
View Full Code Here

    @Override
    @Transactional( rollbackOn = Exception.class )
    public void doTransactional()
        throws TestException, RuntimeTestException
    {
        storeEntity( new TestEntity() );
        doOtherTasks();
        throw new TestException( getClass().getSimpleName() );
    }
View Full Code Here

    @Override
    @Transactional( rollbackOn = RuntimeTestException.class )
    public void doTransactional()
        throws TestException, RuntimeTestException
    {
        storeEntity( new TestEntity() );
        doOtherTasks();
        throw new RuntimeTestException( getClass().getSimpleName() );
    }
View Full Code Here

    @Override
    @Transactional( rollbackOn = Exception.class )
    public void doTransactional()
        throws TestException, RuntimeTestException
    {
        storeEntity( new TestEntity() );
        doOtherTasks();
        throw new RuntimeTestException( getClass().getSimpleName() );
    }
View Full Code Here

    @Override
    @Transactional( rollbackOn = TestException.class )
    public void doTransactional()
        throws TestException, RuntimeTestException
    {
        storeEntity( new TestEntity() );
        doOtherTasks();
        throw new TestException( getClass().getSimpleName() );
    }
View Full Code Here

    @Override
    @Transactional( rollbackOn = Exception.class )
    public void doTransactional()
        throws TestException, RuntimeTestException
    {
        storeEntity( new TestEntity() );
        doOtherTasks();
    }
View Full Code Here

    @Override
    @Transactional( rollbackOn = RuntimeTestException.class )
    public void doTransactional()
        throws TestException, RuntimeTestException
    {
        storeEntity( new TestEntity() );
        doOtherTasks();
        throw new TestException( getClass().getSimpleName() );
    }
View Full Code Here

TOP

Related Classes of org.apache.onami.persist.test.TestEntity

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.