session = _sessionFactory.openSession( );
tx = session.beginTransaction( );
for ( int i = 0; i < ids.length; i++ )
{
BookmarkImpl bk = ( BookmarkImpl ) session.load( BookmarkImpl.class, ids[ i ] );
try
{
session.delete( bk );
}
catch( ObjectDeletedException o )