Package org.exolab.castor.jdo

Examples of org.exolab.castor.jdo.TransactionNotInProgressException


    public Object nextIdentity()
        throws TransactionNotInProgressException, PersistenceException
    {
        // Make sure transaction is still open.
        if ( _tx.getStatus() != Status.STATUS_ACTIVE )
            throw new TransactionNotInProgressException( Messages.message( "persist.noTransaction" ) );
        try {
            _lastIdentity = _query.nextIdentity( _lastIdentity );
        } catch ( PersistenceException except ) {
            _lastIdentity = null;
            throw except;
View Full Code Here


        ClassMolder     handler;
        Object           object;
       
        // Make sure transaction is still open.
        if ( _tx.getStatus() != Status.STATUS_ACTIVE )
            throw new TransactionNotInProgressException( Messages.message( "persist.noTransaction" ) );
        if ( _lastIdentity == null )
            throw new IllegalStateException( Messages.message( "jdo.fetchNoNextIdentity" ) );

        handler = _engine.getClassMolder( _query.getResultType() );
View Full Code Here

TOP

Related Classes of org.exolab.castor.jdo.TransactionNotInProgressException

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.