Code example for Batch

Methods: executerelease

0
		logicalConnection.getResourceRegistry().cancelLastQuery(); 
	} 
 
 
	public void serialize(ObjectOutputStream oos) throws IOException { 
		if ( ! logicalConnection.isReadyForSerialization() ) { 
			throw new HibernateException( "Cannot serialize Session while connected" ); 
		} 
		logicalConnection.serialize( oos ); 
	} 
 
	public static JdbcCoordinatorImpl deserialize( 
			ObjectInputStream ois, 
			TransactionContext transactionContext) throws IOException, ClassNotFoundException { 
		return new JdbcCoordinatorImpl( LogicalConnectionImpl.deserialize( ois, transactionContext ) ); 
 	} 
 
	public void afterDeserialize(TransactionCoordinatorImpl transactionCoordinator) { 
		this.transactionCoordinator = transactionCoordinator; 
	}