public void unbind ( String name ) throws ObjectNameNotFoundException { /** * Is DB open? ODMG 3.0 says it has to be to call unbind. */ if ( ! this . isOpen ( ) ) { throw new DatabaseClosedException ( "Database is not open. Must have an open DB to call unbind" ) ; } TransactionImpl tx = getTransaction ( ) ; if ( tx == null || ! tx . isOpen ( ) ) { throw new TransactionNotInProgressException ( "Tx is not open. Must have an open TX to call lookup." ) ; } tx . getNamedRootsMap ( ) . unbind ( name ) ; }
Disassociate a name with an object